mirror of
https://github.com/friendica/friendica
synced 2025-04-26 00:30:12 +00:00
Avoid warning and notice
This commit is contained in:
parent
b1d31471ec
commit
311c1fdd81
2 changed files with 9 additions and 3 deletions
|
@ -1731,6 +1731,7 @@ class OStatus
|
|||
|
||||
if ($owner['contact-type'] == Contact::TYPE_COMMUNITY) {
|
||||
$contact = Contact::getByURL($item['author-link']) ?: $owner;
|
||||
$contact['nickname'] = $contact['nickname'] ?? $contact['nick'];
|
||||
$author = self::addAuthor($doc, $contact, false);
|
||||
$entry->appendChild($author);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue