too many profiles
This commit is contained in:
parent
b385729c17
commit
83b9a8eb44
|
@ -635,7 +635,7 @@ function profiles_content(&$a) {
|
||||||
}
|
}
|
||||||
else {
|
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());
|
local_user());
|
||||||
if(count($r)) {
|
if(count($r)) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue