From f1b86d31caca533054841c2da323af9e9289a981 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 23 Nov 2017 03:43:39 +0100 Subject: [PATCH] tags-cloud: respect remote perms --- include/tags.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tags.php b/include/tags.php index 8a6b3ba746..01c39d925a 100644 --- a/include/tags.php +++ b/include/tags.php @@ -171,8 +171,8 @@ function tagadelic($uid, $count = 0, $owner_id = 0, $flags = 0, $type = TERM_HAS $r = q("SELECT `term`, COUNT(`term`) AS `total` FROM `term` LEFT JOIN `item` ON `term`.`oid` = `item`.`id` WHERE `term`.`uid` = %d AND `term`.`type` = %d - AND `term`.`otype` = %d AND `item`.`private` = 0 - $sql_options AND $item_condition + AND `term`.`otype` = %d + AND $item_condition $sql_options GROUP BY `term` ORDER BY `total` DESC %s", intval($uid), intval($type),