From 379a1a52e073f9dc29b91f94f45681d24ed57920 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 16 Jul 2019 19:58:47 +0000 Subject: [PATCH] Avoid a warning --- 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 8a155f0bc0..7531a639d7 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -548,7 +548,7 @@ class Notifier private static function skipDFRN($contact, $item, $cmd) { // Don't skip when author or owner don't have AP profiles - if (empty(APContact::getByURL($item['author-link'], false)) || empty(APContact::getByURL($item['owner-link'], false))) { + if ((!empty($item['author-link']) && empty(APContact::getByURL($item['author-link'], false))) || (!empty($item['owner-link']) && empty(APContact::getByURL($item['owner-link'], false)))) { return false; } -- 2.39.5