Fix: ajout du filtre png lors de l'affichage de l'icone pdf

This commit is contained in:
Regis Houssin
2007-07-14 15:37:06 +00:00
parent 4ea2d7fcc7
commit f6defad5ec
2 changed files with 2 additions and 2 deletions

View File

@@ -2246,7 +2246,7 @@ function dolibarr_dir_list($path, $types="all", $recursive=0, $filter="", $exclu
while (false !== ($file = readdir($dir)))
{
$qualified=1;
// Check if file is qualified
if (eregi('^\.',$file)) $qualified=0;
if ($excludefilter && eregi($excludefilter,$file)) $qualified=0;