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` STRAIGHT_JOIN `group_member` ON `group_member`.`contact-id` = `item`.`contact-id`
WHERE `item`.`uid` = ? AND `verb` = ? WHERE `item`.`uid` = ? AND `verb` = ?
AND `item`.`visible` AND NOT `item`.`moderated` AND NOT `item`.`deleted` AND `item`.`visible` AND NOT `item`.`moderated` AND NOT `item`.`deleted`
$sql_extra
AND `item`.`id`>? AND `item`.`id`>?
AND `group_member`.`gid` = ? AND `group_member`.`gid` = ?
ORDER BY `item`.`id` DESC LIMIT ".intval($start)." ,".intval($count), ORDER BY `item`.`id` DESC LIMIT ".intval($start)." ,".intval($count),