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