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')