mirror of
https://github.com/friendica/friendica
synced 2024-05-21 13:16:43 +02:00
Issue #13899: Fix error on postupdate
This commit is contained in:
parent
f12276eff8
commit
e9244ecb70
|
@ -277,6 +277,9 @@ class Engagement
|
||||||
$body = self::addResharers($body, $item['uri-id']);
|
$body = self::addResharers($body, $item['uri-id']);
|
||||||
|
|
||||||
foreach ($receivers as $receiver) {
|
foreach ($receivers as $receiver) {
|
||||||
|
if (empty($receiver)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$contact = Contact::getByURL($receiver, false, ['nick', 'addr', 'contact-type']);
|
$contact = Contact::getByURL($receiver, false, ['nick', 'addr', 'contact-type']);
|
||||||
if (empty($contact)) {
|
if (empty($contact)) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue