It is better this way
This commit is contained in:
parent
7daf5ecde1
commit
cb3077b7a9
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue