1
0
Fork 0

that's better...

This commit is contained in:
Friendika 2011-04-11 16:42:41 -07:00
parent a4836ac1ba
commit 0085bf0c10

View file

@ -45,7 +45,11 @@ function display_content(&$a) {
}
}
$a->page_contact = $contact;
$r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 1 LIMIT 1",
intval($a->profile['uid'])
);
if(count($r))
$a->page_contact = $r[0];
$sql_extra = "
AND `allow_cid` = ''