From 77670f36f6cdd9d1a6588c6757df8e1215f7503d Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Tue, 10 Jul 2018 03:20:38 +0200 Subject: [PATCH] revert CSV separator to ";" This reverts c5c42cfbe88904ee9b7682fb6dd6b9cebc28130d ("remove custom field separator; just go with the default php behaviour"). That change didn't improve anything on https://sourceforge.net/p/postfixadmin/bugs/386/ - it "just" changed the CSV file format which might break existing workflows and/or tools of our users. --- public/list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/list.php b/public/list.php index fd43d879..d32812b7 100644 --- a/public/list.php +++ b/public/list.php @@ -107,7 +107,7 @@ if (safeget('output') == 'csv') { $columns[] = $key; } } - fputcsv($out, $header); + fputcsv($out, $header, ';'); # print items as csv foreach ($items as $item) { @@ -115,7 +115,7 @@ if (safeget('output') == 'csv') { foreach ($columns as $column) { $fields[] = $item[$column]; } - fputcsv($out, $fields); + fputcsv($out, $fields, ';'); } fclose($out);