mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
MINOR: remove space between entries - this breaks the import in Open Office and Numbers
This commit is contained in:
parent
bf6b73bbb1
commit
68be4d51d9
@ -129,7 +129,7 @@ class SubmittedFormReportField extends FormField {
|
||||
$csvRowItems[] = $row['Submitted'];
|
||||
|
||||
// Encode the row by hand (fputcsv fails to encode newlines properly)
|
||||
if (count($csvRowItems)) $csvData .= "\"".implode($csvRowItems, "\", \"")."\"\n";
|
||||
if (count($csvRowItems)) $csvData .= "\"".implode($csvRowItems, "\",\"")."\"\n";
|
||||
}
|
||||
} else {
|
||||
user_error("No submissions to export.", E_USER_ERROR);
|
||||
|
Loading…
Reference in New Issue
Block a user