remove warning

This commit is contained in:
Frédéric FRANCE 2019-03-04 18:23:52 +01:00 committed by GitHub
parent 5dc3cbcdfc
commit bdba88a6d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1819,7 +1819,7 @@ foreach($mainmenuusedarray as $val)
$found=1;
break;
}
else if (file_exists($dirroot."/".$val."/img/".$val.".png")) // Retro compatibilité
elseif (file_exists($dirroot."/".$val."/img/".$val.".png")) // Retro compatibilité
{
$url=dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
$found=1;