From: Michael Date: Wed, 11 May 2022 16:01:37 +0000 (+0000) Subject: Fix a warning because of an undefined array key X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=47ee6fd009acf27f0aeb88a050cad71a247edd90;p=friendica.git Fix a warning because of an undefined array key --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index b0ccfd40bf..4148db33ad 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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; }