]> git.mxchange.org Git - friendica.git/blobdiff - mod/display.php
Merge pull request #8888 from annando/rename-keywordlist
[friendica.git] / mod / display.php
index d630d94a04ebb9722374ea2cdf1e975300e28dcc..1a429948a9d8de8ae2342c03da49910bf4ec47a0 100644 (file)
@@ -164,7 +164,7 @@ function display_fetchauthor($a, $item)
                $profiledata["about"] = "";
        }
 
-       $profiledata = array_merge($profiledata, Contact::getByURLForUser($profiledata["url"], local_user(), [], false));
+       $profiledata = Contact::getByURLForUser($profiledata["url"], local_user()) ?: $profiledata;
 
        if (!empty($profiledata["photo"])) {
                $profiledata["photo"] = DI::baseUrl()->remove($profiledata["photo"]);