mirror of
https://github.com/friendica/friendica
synced 2024-11-18 01:03:40 +00:00
Fallback when there is no nick name
This commit is contained in:
parent
922186bdd1
commit
7f1f549c6f
1 changed files with 3 additions and 0 deletions
|
@ -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"];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue