From cf569425c6df85ddc8190a502c6bd3be96081175 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 21 Sep 2019 13:00:53 +0000 Subject: [PATCH] Avoid a notice --- src/Worker/Notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index 8755a59b5..cb2d83af6 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; }