diff --git a/htdocs/compta/facture/document.php b/htdocs/compta/facture/document.php
index 7e5ad04eb482453dcdcdc96f05f365725e5ddd6d..c806f326a2a26348193b0dd89e78fdf14318b2d9 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 '<tr '.$bc[$var].'>';