]> git.mxchange.org Git - friendica.git/commitdiff
directory - little change in the sql query
authorrabuzarus <>
Sat, 28 Nov 2015 23:09:09 +0000 (00:09 +0100)
committerrabuzarus <>
Sat, 28 Nov 2015 23:09:09 +0000 (00:09 +0100)
mod/directory.php

index 4695ca6b82b53b27cb27d3e2a914009a272dc97f..bedc71907eadfbdbf3f14f02e7bc125ce3d9a19b 100644 (file)
@@ -88,7 +88,7 @@ function directory_content(&$a) {
        $r = $db->q("SELECT `profile`.*, `profile`.`uid` AS `profile_uid`, `user`.`nickname`, `user`.`timezone` , `user`.`page-flags`,
                        `contact`.`addr` AS faddr, `contact`.`url` AS profile_url FROM `profile`
                        LEFT JOIN `user` ON `user`.`uid` = `profile`.`uid`
-                       INNER JOIN `contact` ON `contact`.`uid` = `user`.`uid`
+                       LEFT JOIN `contact` ON `contact`.`uid` = `user`.`uid`
                        WHERE `is-default` = 1 $publish AND `user`.`blocked` = 0 AND `contact`.`self` $sql_extra $order LIMIT ".$limit);
        if(count($r)) {