From: friendica Date: Mon, 18 Jun 2012 02:40:16 +0000 (-0700) Subject: too many profiles X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=83b9a8eb44e5c4abbe7018c2228b488d3ecd437a;p=friendica.git too many profiles --- diff --git a/mod/profiles.php b/mod/profiles.php index a8b40c8a53..7b6e61ad6a 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -635,7 +635,7 @@ function profiles_content(&$a) { } else { - $r = q("SELECT `profile`.*, `contact`.`avatar-date` AS picdate FROM `profile` LEFT JOIN `contact` on `contact`.`uid` = `profile`.`uid` WHERE `profile`.`uid` = %d", + $r = q("SELECT `profile`.*, `contact`.`avatar-date` AS picdate FROM `profile` LEFT JOIN `contact` on `contact`.`uid` = `profile`.`uid` WHERE `profile`.`uid` = %d and contact.self = 1", local_user()); if(count($r)) {