Preparation for a not found contact.

This commit is contained in:
Michael Vogel 2015-10-04 14:49:12 +02:00
parent d0ae5ce326
commit ba41336099

View file

@ -64,6 +64,9 @@ function follow_content(&$a) {
$r = q("SELECT `location`, `about`, `keywords` FROM `gcontact` WHERE `nurl` = '%s'",
normalise_link($ret["url"]));
if (!$r)
$r = array(array("location" => "", "about" => "", "keywords" => ""));
$header = $ret["name"];
if ($ret["addr"] != "")