From cb3077b7a9023a65b6dc13df065bfbbe7f7633fb Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 17 May 2017 06:07:55 +0000 Subject: [PATCH] It is better this way --- include/identity.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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')