From dbaed91a7573c5af1541a1413980cd74bb35b936 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 30 Aug 2017 17:55:23 +0000 Subject: [PATCH] Bugfix: Repeating of posts generated a SQL error --- include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/api.php b/include/api.php index 62e874145e..e7c320e62d 100644 --- a/include/api.php +++ b/include/api.php @@ -1818,7 +1818,7 @@ $called_api = null; INNER JOIN `contact` ON `contact`.`id` = `item`.`contact-id` AND `contact`.`uid` = `item`.`uid` AND (NOT `contact`.`blocked` OR `contact`.`pending`) WHERE `item`.`visible` AND NOT `item`.`moderated` AND NOT `item`.`deleted` - AND NOT `item`.`private` AND `item`.`allow_cid` = '' AND `item`.`allow`.`gid` = '' + AND NOT `item`.`private` AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = '' AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = '' $sql_extra AND `item`.`id`=%d", -- 2.39.5