]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/ActivityPub/Transmitter.php
Check $item_profile is populated in ActivityPub\Transmitter
[friendica.git] / src / Protocol / ActivityPub / Transmitter.php
index 0dfef3ebdeffcb2cceb01c6fb515a2119d78eb28..6e639fb9896eb900ac10d6efd601998a68f2c326 100644 (file)
@@ -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)) {