X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdisplay.php;h=1a429948a9d8de8ae2342c03da49910bf4ec47a0;hb=a7d75702cc43b13b6100d993df6d8d409e5e2351;hp=d630d94a04ebb9722374ea2cdf1e975300e28dcc;hpb=d9c6a46ffee7f0544a8da195243f524623ddc107;p=friendica.git diff --git a/mod/display.php b/mod/display.php index d630d94a04..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(), [], false)); + $profiledata = Contact::getByURLForUser($profiledata["url"], local_user()) ?: $profiledata; if (!empty($profiledata["photo"])) { $profiledata["photo"] = DI::baseUrl()->remove($profiledata["photo"]);