mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
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.
This commit is contained in:
parent
39bb2dbcd6
commit
77670f36f6
@ -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…
Reference in New Issue
Block a user