]> git.mxchange.org Git - friendica.git/commitdiff
Use INNER for group_member join
authorHypolite Petovan <mrpetovan@gmail.com>
Fri, 15 Dec 2017 13:44:00 +0000 (08:44 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 15 Dec 2017 13:44:00 +0000 (08:44 -0500)
src/Model/Contact.php

index 444ecf3c00bcfaef602bbb63ae2d5313f590996c..2203b62162372e482e084e5eb0607a4a41b8720f 100644 (file)
@@ -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)