From: Michael Date: Wed, 17 May 2017 06:07:55 +0000 (+0000) Subject: It is better this way X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cb3077b7a9023a65b6dc13df065bfbbe7f7633fb;p=friendica.git It is better this way --- diff --git a/include/identity.php b/include/identity.php index d2f59a06e2..25b24f289b 100644 --- a/include/identity.php +++ b/include/identity.php @@ -414,9 +414,7 @@ function profile_sidebar($profile, $block = 0) { else $p["address"] = bbcode($p["location"]); - if (isset($p["contact_photo"])) { - $p["photo"] = proxy_url($p["contact_photo"], false, PROXY_SIZE_SMALL); - } elseif (isset($p["photo"])) { + if (isset($p["photo"])) { $p["photo"] = proxy_url($p["photo"], false, PROXY_SIZE_SMALL); } if ($a->theme['template_engine'] === 'internal')