diff --git a/app/View/User/company.ctp b/app/View/User/company.ctp index 352bb36..4b243dc 100644 --- a/app/View/User/company.ctp +++ b/app/View/User/company.ctp @@ -20,7 +20,7 @@ if($profil['AppUser']['take_systemwide']){ $url = $MEDIA.DS.$profil['User']['avatar']; else $url = $MEDIA.DS.$profil['AppUser']['avatar']; - if($edit and isset($url)) + if($edit and !isset($url)) $url = 'img/icon_company.png'; ?>