X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcommunity.php;h=d6f87762bdefefda35ecdb15ec387c7711a439a9;hb=cb0351dba0c1febd38b62329d44dc064f928ba0e;hp=3f0adff04fde219f2c25651dd8f23b1041d018e8;hpb=1b2a90a10f6a2e03ae9a6a61f0c7f7b9a955327e;p=friendica.git diff --git a/mod/community.php b/mod/community.php index 3f0adff04f..d6f87762bd 100644 --- a/mod/community.php +++ b/mod/community.php @@ -143,7 +143,7 @@ function community_getpublicitems($start, $itemspage) { $r = q("SELECT `item`.`uri`, `item`.*, `item`.`id` AS `item_id`, `author-name` AS `name`, `owner-avatar` AS `photo`, `owner-link` AS `url`, `owner-avatar` AS `thumb` - FROM `item` WHERE `item`.`uid` = 0 + FROM `item` WHERE `item`.`uid` = 0 AND `item`.`id` = `item`.`parent` AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = '' AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = '' ORDER BY `item`.`received` DESC LIMIT %d, %d",