From 73dbd73990b0b31d9fe47146c2dbb2714c4d7b05 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Sun, 29 Nov 2015 00:09:09 +0100 Subject: [PATCH] directory - little change in the sql query --- mod/directory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/directory.php b/mod/directory.php index 4695ca6b82..bedc71907e 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -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)) {