X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdisplay.php;h=1a429948a9d8de8ae2342c03da49910bf4ec47a0;hb=d15f52275248e231e1b839e173578d757e2a96c9;hp=61e1529e4dff6493ac25f9daea56aa966a914fcb;hpb=631095eefdd8cc9698190c60a26322a35b57fc1b;p=friendica.git diff --git a/mod/display.php b/mod/display.php index 61e1529e4d..1a429948a9 100644 --- a/mod/display.php +++ b/mod/display.php @@ -164,7 +164,7 @@ function display_fetchauthor($a, $item) $profiledata["about"] = ""; } - $profiledata = array_merge($profiledata, Contact::getByURLForUser($profiledata["url"], local_user())); + $profiledata = Contact::getByURLForUser($profiledata["url"], local_user()) ?: $profiledata; if (!empty($profiledata["photo"])) { $profiledata["photo"] = DI::baseUrl()->remove($profiledata["photo"]);