From 4757bf5331851400c482fd62de0315e2717cf533 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 21 Dec 2014 10:55:15 +0100 Subject: [PATCH] Applied a change to the community query that was already done in another branch. --- mod/community.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/community.php b/mod/community.php index 30eb6ebb03..4d1e84cba9 100644 --- a/mod/community.php +++ b/mod/community.php @@ -129,7 +129,7 @@ function community_getitems($start, $itemspage) { AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = '' AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = '' INNER JOIN `contact` ON `contact`.`id` = `thread`.`contact-id` - AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 AND (`contact`.`self` OR `contact`.`remote_self`) + AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 AND `contact`.`self` WHERE `thread`.`visible` = 1 AND `thread`.`deleted` = 0 and `thread`.`moderated` = 0 AND `thread`.`private` = 0 AND `thread`.`wall` = 1 ORDER BY `thread`.`received` DESC LIMIT %d, %d ",