From 333eb5f9dd00d16d11ae3fae2c9348cecaa641d1 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sat, 7 Apr 2018 23:20:30 +0200 Subject: [PATCH] Add missing variable --- include/api.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/api.php b/include/api.php index 806e953e91..40afd4b08b 100644 --- a/include/api.php +++ b/include/api.php @@ -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), -- 2.39.5