Merge pull request #8608 from MrPetovan/bug/notices
Check $item_profile is populated in ActivityPub\Transmitter
This commit is contained in:
commit
a89b66c88e
1 changed files with 1 additions and 1 deletions
|
@ -639,7 +639,7 @@ class Transmitter
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($receiver == $item_profile['followers']) {
|
if ($item_profile && $receiver == $item_profile['followers']) {
|
||||||
$inboxes = array_merge($inboxes, self::fetchTargetInboxesforUser($uid, $personal));
|
$inboxes = array_merge($inboxes, self::fetchTargetInboxesforUser($uid, $personal));
|
||||||
} else {
|
} else {
|
||||||
if (Contact::isLocal($receiver)) {
|
if (Contact::isLocal($receiver)) {
|
||||||
|
|
Loading…
Reference in a new issue