Skip to content

Commit

Permalink
Fixed issue #16723: SPSS data export does not include any delimiters …
Browse files Browse the repository at this point in the history
…after lastpage field
  • Loading branch information
c-schmitz committed Mar 7, 2021
1 parent 16d6224 commit b40ffbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/export_helper.php
Expand Up @@ -120,7 +120,7 @@ function SPSSExportData($iSurveyID, $iLength, $na = '', $q = '\'', $header = fal
foreach ($result as $row) {
$rownr++;
if ($rownr == 1) {
$num_fields = safecount($row);
$num_fields = safecount($fields);
// Add column headers (used by R export)
if ($header == true) {
$i = 1;
Expand Down

0 comments on commit b40ffbd

Please sign in to comment.