aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-11-24 20:01:16 +0000
committerMario <mario@mariovavti.com>2021-11-24 20:01:16 +0000
commit668d7c73ede680862118331f64156d76c9fbadec (patch)
tree50183abf6e22c041142935a8b8a4707300645de7 /Zotlabs/Module
parentc95f708c9174be3138d2cff133eaa210b7222cd6 (diff)
downloadvolse-hubzilla-668d7c73ede680862118331f64156d76c9fbadec.tar.gz
volse-hubzilla-668d7c73ede680862118331f64156d76c9fbadec.tar.bz2
volse-hubzilla-668d7c73ede680862118331f64156d76c9fbadec.zip
address issue #1651 (reload page after comment or like)
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Like.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index e3fe4a954..8b36e8396 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -91,6 +91,12 @@ class Like extends Controller {
'id' => $arr['item']['id'],
'html' => conversation($items, $conv_mode, true, $page_mode),
];
+
+ // mod photos
+ if (isset($_REQUEST['reload']) && $_REQUEST['reload']) {
+ $ret['reload'] = 1;
+ }
+
return $ret;
}