]> git.mxchange.org Git - friendica.git/commitdiff
It is better this way
authorMichael <heluecht@pirati.ca>
Wed, 17 May 2017 06:07:55 +0000 (06:07 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 17 May 2017 06:07:55 +0000 (06:07 +0000)
include/identity.php

index d2f59a06e2257727990915d22068faa7e641a017..25b24f289b6f8b20198364d7690cf01e56d05d16 100644 (file)
@@ -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')