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 274ee87 commit 644abe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/export_helper.php
Expand Up @@ -137,7 +137,7 @@ function SPSSExportData($iSurveyID, $iLength, $na = '', $sEmptyAnswerValue = '',

$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 644abe6

Please sign in to comment.