From 55569f9df3c4f294613afbab2631533ff0d211e8 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 31 Jul 2017 19:29:43 +0000 Subject: [PATCH] This is a fix for issue 3536. Now likes aren't show anymore on the community page. --- mod/community.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/community.php b/mod/community.php index b1995c7002..89a369d94f 100644 --- a/mod/community.php +++ b/mod/community.php @@ -115,10 +115,10 @@ function community_getpublicitems($start, $itemspage) { $r = qu("SELECT %s FROM `thread` INNER JOIN `item` ON `item`.`id` = `thread`.`iid` %s - WHERE `thread`.`uid` = 0 + WHERE `thread`.`uid` = 0 AND `verb` = '%s' ORDER BY `thread`.`created` DESC LIMIT %d, %d", item_fieldlists(), item_joins(), - intval($start), intval($itemspage) + dbesc(ACTIVITY_POST), intval($start), intval($itemspage) ); return($r); -- 2.39.5