revert CSV separator to ";"

This reverts c5c42cfbe8 ("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.
pull/194/head
Christian Boltz 6 years ago
parent 39bb2dbcd6
commit 77670f36f6
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

@ -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);

Loading…
Cancel
Save