Fixes 9814 - again

This commit is contained in:
Michael 2021-01-18 20:19:13 +00:00
parent 6eb7677ac5
commit 9ccfa37d3c
2 changed files with 16 additions and 5 deletions

View file

@ -87,7 +87,7 @@ class TagCloud
*/
private static function tagadelic($uid, $count = 0, $owner_id = 0, $flags = '', $type = Tag::HASHTAG)
{
$sql_options = Item::getPermissionsSQLByUserId($uid);
$sql_options = Item::getPermissionsSQLByUserId($uid, 'post-view');
$limit = $count ? sprintf('LIMIT %d', intval($count)) : '';
if ($flags) {