mirror of
https://github.com/friendica/friendica
synced 2025-01-05 16:42:19 +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);
|
logger('no contact found: '.print_r($thrparent, true), LOGGER_DEBUG);
|
||||||
} else
|
} else
|
||||||
logger('parent contact: '.print_r($parent_contact, true), LOGGER_DEBUG);
|
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