From: Hypolite Petovan Date: Fri, 15 Dec 2017 13:44:00 +0000 (-0500) Subject: Use INNER for group_member join X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=868a84c5cc2db5b27f719687a0d9f3bd92e1209d;p=friendica.git Use INNER for group_member join --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 444ecf3c00..2203b62162 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -606,7 +606,7 @@ class Contact extends BaseObject AND `id` NOT IN ( SELECT DISTINCT(`contact-id`) FROM `group_member` - JOIN `group` ON `group`.`id` = `group_member`.`gid` + INNER JOIN `group` ON `group`.`id` = `group_member`.`gid` WHERE `group`.`uid` = %d ) LIMIT %d, %d", intval($uid), intval($uid), intval($start), intval($count)