mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Fix fallback on unknown contact
This commit is contained in:
parent
caf548e1a7
commit
b8682190de
6 changed files with 9 additions and 9 deletions
|
@ -103,7 +103,7 @@ class Contacts extends BaseProfile
|
|||
continue;
|
||||
}
|
||||
|
||||
$contact_details = array_merge($contact, Contact::getByURLForUser($contact['url'], $a->profile['uid']));
|
||||
$contact_details = Contact::getByURLForUser($contact['url'], $a->profile['uid']) ?: $contact;
|
||||
|
||||
$contacts[] = [
|
||||
'id' => $contact['id'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue