aboutsummaryrefslogtreecommitdiffstats
path: root/include/taxonomy.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-03-08 19:16:41 +0000
committerMax Kostikov <max@kostikov.co>2021-03-08 19:16:41 +0000
commit0c5a7ab19b9ccb76aebe006626bacb35b1e1c66b (patch)
tree9df1dd6696df93918dbc1ca270d39c693d0fad50 /include/taxonomy.php
parent7e0416ac97ad90bd34c7e9a60a8370d23f3891b9 (diff)
downloadvolse-hubzilla-0c5a7ab19b9ccb76aebe006626bacb35b1e1c66b.tar.gz
volse-hubzilla-0c5a7ab19b9ccb76aebe006626bacb35b1e1c66b.tar.bz2
volse-hubzilla-0c5a7ab19b9ccb76aebe006626bacb35b1e1c66b.zip
Define $sql_extra2 variable before concatenation
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r--include/taxonomy.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index 5fa4fde3f..19a843cc4 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -331,11 +331,12 @@ function pubtagblock($net,$site,$limit,$recent = 0,$safemode = 1, $type = TERM_H
}
-function pub_tagadelic($net,$site,$limit,$recent,$safemode,$type) {
+function pub_tagadelic($net, $site, $limit, $recent, $safemode, $type) {
$item_normal = item_normal();
$count = intval($limit);
+ $sql_extra = "";
if($site)
$uids = " and item.uid in ( " . stream_perms_api_uids(PERMS_PUBLIC) . " ) and item_private = 0 and item_wall = 1 ";
else {