Check for empty owners
This commit is contained in:
parent
4285f4643f
commit
6d9302fbe4
1 changed files with 6 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue