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.