diff --git a/htdocs/exports/class/export.class.php b/htdocs/exports/class/export.class.php
index 463cd85fc3f297076d6c78c5fbf7d95c8f76839d..622f26506f9ce02a867474d1c58fbf4469dc5d79 100644
--- a/htdocs/exports/class/export.class.php
+++ b/htdocs/exports/class/export.class.php
@@ -227,18 +227,19 @@ class Export
 		$sql.=$this->array_export_sql_end[$indice];
 
 		//construction du filtrage si le parametrage existe
-		if (is_array($array_filterValue))
+		if (is_array($array_filterValue) && !empty($array_filterValue))
 		{
 			$sqlWhere='';
 			// pour ne pas a gerer le nombre de condition
 			foreach ($array_filterValue as $key => $value)
 			{
-				$sqlWhere.=" and ".$this->build_filterQuery($this->array_export_TypeFields[0][$key], $key, $array_filterValue[$key]);
+				if (!empty($value))
+					$sqlWhere.=" and ".$this->build_filterQuery($this->array_export_TypeFields[0][$key], $key, $array_filterValue[$key]);
 			}
 			$sql.=$sqlWhere;
 		}
 		$sql.=$this->array_export_sql_order[$indice];
-		
+
 		return $sql;
 	}