diff --git a/src/Object/Post.php b/src/Object/Post.php index 28dbf9c3b..dd32fc3e3 100644 --- a/src/Object/Post.php +++ b/src/Object/Post.php @@ -168,7 +168,7 @@ class Post extends BaseObject $filer = (($conv->getProfileOwner() == local_user()) ? t("save to folder") : false); - $diff_author = ((link_compare($item['url'], $item['author-link'])) ? false : true); + $diff_author = !link_compare($item['url'], $item['author-link']); $profile_name = htmlentities(((strlen($item['author-name'])) && $diff_author) ? $item['author-name'] : $item['name']); if ($item['author-link'] && (!$item['author-name'])) { $profile_name = $item['author-link'];