Browse Source

Preparation for a not found contact.

pull/1933/head
Michael Vogel 6 years ago
parent
commit
ba41336099
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      mod/follow.php

+ 3
- 0
mod/follow.php 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"] != "")


Loading…
Cancel
Save