This is a fix for issue 3536. Now likes aren't show anymore on the community page.
This commit is contained in:
parent
390e34d587
commit
55569f9df3
1 changed files with 2 additions and 2 deletions
|
@ -115,10 +115,10 @@ function community_getpublicitems($start, $itemspage) {
|
||||||
$r = qu("SELECT %s
|
$r = qu("SELECT %s
|
||||||
FROM `thread`
|
FROM `thread`
|
||||||
INNER JOIN `item` ON `item`.`id` = `thread`.`iid` %s
|
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",
|
ORDER BY `thread`.`created` DESC LIMIT %d, %d",
|
||||||
item_fieldlists(), item_joins(),
|
item_fieldlists(), item_joins(),
|
||||||
intval($start), intval($itemspage)
|
dbesc(ACTIVITY_POST), intval($start), intval($itemspage)
|
||||||
);
|
);
|
||||||
|
|
||||||
return($r);
|
return($r);
|
||||||
|
|
Loading…
Reference in a new issue