From 93dd22eed8579cee4eea577aba2cb8ecd315b4e1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 23 Jul 2006 01:00:31 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Les=20fichiers=20.meta=20doivent=20reste?= =?UTF-8?q?r=20invisibles=20=E0=20l'utilisateur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture/document.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/facture/document.php b/htdocs/compta/facture/document.php index 7e5ad04eb48..c806f326a2a 100644 --- a/htdocs/compta/facture/document.php +++ b/htdocs/compta/facture/document.php @@ -205,7 +205,8 @@ if ($facid > 0) $var=true; while (($file = readdir($handle))!==false) { - if (!is_dir($dir.$file) && substr($file, 0, 1) <> '.' && substr($file, 0, 3) <> 'CVS') + if (! is_dir($dir.$file) && substr($file, 0, 1) <> '.' && substr($file, 0, 3) <> 'CVS' + && ! eregi('\.meta$',$file)) { $var=!$var; print '';