Issue #13899: Fix error on postupdate (#13915)

This commit is contained in:
Michael Vogel 2024-02-18 20:09:56 +01:00 committed by GitHub
parent 6384265cbd
commit bcec6c5ab2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;