From 63c66095e634d9241a9dac514131f0f3e8430132 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 25 Jan 2019 11:56:50 +0100 Subject: [PATCH] Work on file export --- htdocs/compta/compta-files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/compta-files.php b/htdocs/compta/compta-files.php index 83e475f2855..5cce413a9ae 100644 --- a/htdocs/compta/compta-files.php +++ b/htdocs/compta/compta-files.php @@ -231,7 +231,7 @@ if ($result && $action == "dl") if (file_exists($file["fullname"])) $zip->addFile($file["fullname"], $file["relpathnamelang"]); // $log.=$file['date'].','.$file['item'].','.$file['ref'].','.$file['amount'].','.$file['paid'].','.$file["name"].','.$file['fk']."\n"; } - $zip->addFromString('log.csv', $log); + $zip->addFromString('transactions.csv', $log); $zip->close(); ///Then download the zipped file.