MINOR: remove space between entries - this breaks the import in Open Office and Numbers

This commit is contained in:
Mateusz Uzdowski 2010-10-27 01:50:43 +00:00
parent bf6b73bbb1
commit 68be4d51d9

View File

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