diff --git a/src/Model/Item.php b/src/Model/Item.php index 41f737bc05..5b31a8078a 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1238,7 +1238,7 @@ class Item $self = Contact::selectFirst(['id'], ['uid' => $item['uid'], 'self' => true]); $cid = Contact::getIdForURL($author['url'], $item['uid']); - if (empty($cid) || (!Contact::isSharing($cid, $item['uid']) && ($cid != $self['id'] ?? 0))) { + if (empty($cid) || (!Contact::isSharing($cid, $item['uid']) && ($cid != ($self['id'] ?? 0)))) { Logger::info('The resharer is not a following contact: quit', ['resharer' => $author['url'], 'uid' => $item['uid'], 'cid' => $cid]); return; }