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