aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Photos.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-09-21 08:34:02 +0000
committerMario <mario@mariovavti.com>2023-09-21 08:34:02 +0000
commita5e32dc3de997c3a3d9046161ce1ec149abb65c1 (patch)
tree3c7312f8bc2bcc6083d9b96408c5816ff79acb71 /Zotlabs/Module/Photos.php
parent150174c3bb5578e0dfc20ac97a061d170fc90f5a (diff)
downloadvolse-hubzilla-a5e32dc3de997c3a3d9046161ce1ec149abb65c1.tar.gz
volse-hubzilla-a5e32dc3de997c3a3d9046161ce1ec149abb65c1.tar.bz2
volse-hubzilla-a5e32dc3de997c3a3d9046161ce1ec149abb65c1.zip
more deprecate $a
Diffstat (limited to 'Zotlabs/Module/Photos.php')
-rw-r--r--Zotlabs/Module/Photos.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php
index 68f7c55e7..6c73c411e 100644
--- a/Zotlabs/Module/Photos.php
+++ b/Zotlabs/Module/Photos.php
@@ -851,6 +851,10 @@ class Photos extends \Zotlabs\Web\Controller {
dbesc($datum)
);
+ $tags = [];
+ $likebuttons = [];
+ $comments = '';
+
if(! ($ph && $x)) {
/* Check again - this time without specifying permissions */
@@ -981,7 +985,6 @@ class Photos extends \Zotlabs\Web\Controller {
$r = conv_sort($r,'commented');
}
- $tags = array();
if(x($link_item, 'term')) {
$cnt = 0;
foreach($link_item['term'] as $t) {
@@ -1075,7 +1078,6 @@ class Photos extends \Zotlabs\Web\Controller {
];
}
- $comments = '';
if(! $r) {
if($observer && ($can_post || $can_comment)) {
$commentbox = replace_macros($cmnt_tpl,array(
@@ -1209,13 +1211,12 @@ class Photos extends \Zotlabs\Web\Controller {
}
}
- $paginate = paginate($a);
}
$album_e = array($album_link,$ph[0]['album']);
$like_e = $like;
$dislike_e = $dislike;
-
+ $paginate = paginate();
$response_verbs = array('like');
if(feature_enabled($owner_uid,'dislike'))