diff --git a/src/Module/Item/Display.php b/src/Module/Item/Display.php index cca2dbf3a2..6a6d8dec52 100644 --- a/src/Module/Item/Display.php +++ b/src/Module/Item/Display.php @@ -167,7 +167,7 @@ class Display extends BaseModule { $author = []; $shared = $this->contentItem->getSharedPost($item, ['author-link']); - if (count($shared) > 0 && !array_key_exists('comment', $shared)) { + if (array_key_exists('comment', $shared) && !$shared['comment']) { $author = Contact::getByURLForUser($shared['post']['author-link'], $this->session->getLocalUserId()); }