From d66a296f67f169a6241120303917a96203125409 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 10 Mar 2005 14:12:07 +0000 Subject: [PATCH] =?UTF-8?q?G=E9n=E8re=20l'export=20m=EAme=20si=20il=20n'ex?= =?UTF-8?q?iste=20que=20des=20paiements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/export/modules/compta.export.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/export/modules/compta.export.class.php b/htdocs/compta/export/modules/compta.export.class.php index 0ab4160c68e..6b301fac8e0 100644 --- a/htdocs/compta/export/modules/compta.export.class.php +++ b/htdocs/compta/export/modules/compta.export.class.php @@ -165,7 +165,7 @@ class ComptaExport $error += $this->ReadLines(); $error += $this->ReadLinesPayment(); - if (!$error && sizeof($this->linec) > 0) + if (!$error && (sizeof($this->linec) > 0 || sizeof($this->linep) > 0)) { include_once DOL_DOCUMENT_ROOT.'/compta/export/modules/compta.export.'.strtolower($this->classe_export).'.class.php';