Check for empty owners

This commit is contained in:
Michael 2020-08-22 16:34:04 +00:00
parent 4285f4643f
commit 6d9302fbe4
1 changed files with 6 additions and 0 deletions

View File

@ -774,6 +774,9 @@ class Processor
}
$owner = User::getOwnerDataById($uid);
if (empty($owner)) {
return;
}
$cid = Contact::getIdForURL($activity['actor'], $uid);
if (!empty($cid)) {
@ -956,6 +959,9 @@ class Processor
}
$owner = User::getOwnerDataById($uid);
if (empty($owner)) {
return;
}
$cid = Contact::getIdForURL($activity['actor'], $uid);
if (empty($cid)) {