From 0a72f4b2043c619076a94cc831dd56cd090ddb85 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 23 Dec 2006 15:07:21 +0000 Subject: [PATCH] Modif appel Export() --- htdocs/compta/export/modules/compta.export.poivre.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/export/modules/compta.export.poivre.class.php b/htdocs/compta/export/modules/compta.export.poivre.class.php index 64d58c2b4cd..5ce93b6da51 100644 --- a/htdocs/compta/export/modules/compta.export.poivre.class.php +++ b/htdocs/compta/export/modules/compta.export.poivre.class.php @@ -79,7 +79,7 @@ class ComptaExportPoivre extends ComptaExport /* * */ - function Export($linec, $linep, $id=0) + function Export($dir, $linec, $linep, $id=0) { $error = 0; @@ -151,9 +151,9 @@ class ComptaExportPoivre extends ComptaExport if (!$error) { - dolibarr_syslog("ComptaExportPoivre::Export ref : ".$this->ref); + dolibarr_syslog("ComptaExportPoivre::Export ref : ".$this->ref); - $fxname = DOL_DATA_ROOT."/compta/export/".$this->ref.".xls"; + $fxname = $dir . "/".$this->ref.".xls"; $workbook = &new writeexcel_workbook($fxname);