From ca956408f6db3e0dae2cc4fc4d27b60af7ad4196 Mon Sep 17 00:00:00 2001 From: Artur Weigandt Date: Thu, 21 Nov 2024 09:57:07 +0100 Subject: [PATCH] Update src/Module/Item/Display.php Co-authored-by: Hypolite Petovan --- src/Module/Item/Display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }