From 55acb511480d10353f1dd1fdc4c3b9e2541bcbb6 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 8 May 2020 09:15:04 -0400 Subject: [PATCH] Check $item_profile is populated in ActivityPub\Transmitter - Address https://github.com/friendica/friendica/issues/8475#issuecomment-625716446 --- src/Protocol/ActivityPub/Transmitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 0dfef3ebd..6e639fb98 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -639,7 +639,7 @@ class Transmitter continue; } - if ($receiver == $item_profile['followers']) { + if ($item_profile && $receiver == $item_profile['followers']) { $inboxes = array_merge($inboxes, self::fetchTargetInboxesforUser($uid, $personal)); } else { if (Contact::isLocal($receiver)) {