Fallback when there is no nick name

This commit is contained in:
Michael Vogel 2016-02-14 15:08:49 +01:00
parent 922186bdd1
commit 7f1f549c6f

View file

@ -160,6 +160,9 @@ function item_post(&$a) {
logger('no contact found: '.print_r($thrparent, true), LOGGER_DEBUG);
} else
logger('parent contact: '.print_r($parent_contact, true), LOGGER_DEBUG);
if ($parent_contact["nick"] == "")
$parent_contact["nick"] = $parent_contact["name"];
}
}