From: Michael Date: Sat, 21 Sep 2019 13:00:53 +0000 (+0000) Subject: Avoid a notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cf569425c6df85ddc8190a502c6bd3be96081175;p=friendica.git Avoid a notice --- diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index 8755a59b54..cb2d83af6d 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -569,7 +569,7 @@ class Notifier private static function skipDFRN($contact, $item, $cmd) { // Use DFRN if we are on the same site - if (Contact::isLocal($contact['url'])) { + if (!empty($contact['url']) && Contact::isLocal($contact['url'])) { return false; }