It is better this way

This commit is contained in:
Michael 2017-05-17 06:07:55 +00:00
parent 7daf5ecde1
commit cb3077b7a9

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