From 68be4d51d902f25b9aa4bd328d2cc206c2c98a8c Mon Sep 17 00:00:00 2001 From: Mateusz Uzdowski Date: Wed, 27 Oct 2010 01:50:43 +0000 Subject: [PATCH] MINOR: remove space between entries - this breaks the import in Open Office and Numbers --- code/submissions/SubmittedFormReportField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/submissions/SubmittedFormReportField.php b/code/submissions/SubmittedFormReportField.php index 2a26e75..82b421a 100755 --- a/code/submissions/SubmittedFormReportField.php +++ b/code/submissions/SubmittedFormReportField.php @@ -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);