mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:40:17 +00:00
Fix a warning because of an undefined array key
This commit is contained in:
parent
449df1a583
commit
47ee6fd009
1 changed files with 1 additions and 1 deletions
|
@ -1700,7 +1700,7 @@ class Contact
|
|||
}
|
||||
}
|
||||
|
||||
if (Network::isLocalLink($contact['url']) && !empty($contact['avatar'])) {
|
||||
if (!empty($contact['avatar']) && !empty($contact['url']) && Network::isLocalLink($contact['url'])) {
|
||||
return $contact;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue