bild ansehen bug ... bei no systemwide
This commit is contained in:
parent
11bfda4758
commit
fc43b54982
|
@ -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'];
|
||||
|
||||
|
|
|
@ -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'];
|
||||
|
||||
|
|
Loading…
Reference in New Issue