aboutsummaryrefslogtreecommitdiffstats
path: root/include/taxonomy.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-09 11:02:28 +0000
committerMario <mario@mariovavti.com>2021-03-09 11:02:28 +0000
commit53c3d0d53d27c20bdd58c99674de0881e2b0e5e6 (patch)
tree02380a55e91c2b59e38efbf71ff012d649bcae00 /include/taxonomy.php
parented981ec8e818892ee15f0971e387cd269ec59689 (diff)
parent723d757091d55a09633d09119a7214ff64d6eff0 (diff)
downloadvolse-hubzilla-53c3d0d53d27c20bdd58c99674de0881e2b0e5e6.tar.gz
volse-hubzilla-53c3d0d53d27c20bdd58c99674de0881e2b0e5e6.tar.bz2
volse-hubzilla-53c3d0d53d27c20bdd58c99674de0881e2b0e5e6.zip
Merge branch 'php8' into 'dev'
Stricter parameters checks for PHP 8 support See merge request hubzilla/core!1921
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r--include/taxonomy.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index 5fa4fde3f..f765a9f0e 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -331,11 +331,11 @@ function pubtagblock($net,$site,$limit,$recent = 0,$safemode = 1, $type = TERM_H
}
-function pub_tagadelic($net,$site,$limit,$recent,$safemode,$type) {
-
- $item_normal = item_normal();
- $count = intval($limit);
-
+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 {