Add missing variable

This commit is contained in:
Pierre Rudloff 2018-04-07 23:20:30 +02:00
parent b775cba8c2
commit 333eb5f9dd

View File

@ -3393,6 +3393,7 @@ function api_lists_statuses($type)
STRAIGHT_JOIN `group_member` ON `group_member`.`contact-id` = `item`.`contact-id`
WHERE `item`.`uid` = ? AND `verb` = ?
AND `item`.`visible` AND NOT `item`.`moderated` AND NOT `item`.`deleted`
$sql_extra
AND `item`.`id`>?
AND `group_member`.`gid` = ?
ORDER BY `item`.`id` DESC LIMIT ".intval($start)." ,".intval($count),