From: Michael Vogel Date: Sun, 18 Feb 2024 19:09:56 +0000 (+0100) Subject: Issue #13899: Fix error on postupdate (#13915) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bcec6c5ab2499d123e163e7dd51b63f7d6dc9447;p=friendica.git Issue #13899: Fix error on postupdate (#13915) --- diff --git a/src/Model/Post/Engagement.php b/src/Model/Post/Engagement.php index e5de964d04..99940a784d 100644 --- a/src/Model/Post/Engagement.php +++ b/src/Model/Post/Engagement.php @@ -277,6 +277,9 @@ class Engagement $body = self::addResharers($body, $item['uri-id']); foreach ($receivers as $receiver) { + if (empty($receiver)) { + continue; + } $contact = Contact::getByURL($receiver, false, ['nick', 'addr', 'contact-type']); if (empty($contact)) { continue;