Browse Source

that's better...

pull/1/head
Friendika 10 years ago
parent
commit
0085bf0c10
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      mod/display.php

+ 5
- 1
mod/display.php 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` = ''


Loading…
Cancel
Save