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

View File

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