bild ansehen bug ... bei no systemwide

This commit is contained in:
2014-04-27 13:24:25 +02:00
parent 11bfda4758
commit fc43b54982
2 changed files with 6 additions and 6 deletions

View File

@ -7,10 +7,10 @@
<div class="bar avatar">
<?php
$url='/img/icon_user.png';
if($profil['AppUser']['take_systemwide'])
if($profil['AppUser']['take_systemwide']){
if($profil['User']['avatar'])
$url = $MEDIA.DS.$profil['User']['avatar'];
else
}else
if($profil['AppUser']['avatar'])
$url = $MEDIA.DS.$profil['AppUser']['avatar'];

View File

@ -26,10 +26,10 @@
<div class="icon">
<?php
$url='/img/icon_user.png';
if($profil[$AppUser]['take_systemwide'])
if($profil[$AppUser]['take_systemwide']){
if($profil[$User]['avatar'])
$url = $MEDIA.DS.$profil[$User]['avatar'];
else
}else
if($profil[$AppUser]['avatar'])
$url = $MEDIA.DS.$profil[$AppUser]['avatar'];