Skip to content

Commit

Permalink
Fixed issue #7784: Error on question import in csv-format
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed May 10, 2013
1 parent 12f90d2 commit 3f9e6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/expressions/em_manager_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -7608,7 +7608,7 @@ function getAnswerSetsForEM($surveyid=NULL,$qid=NULL,$lang=NULL)
if (!isset($qans[$row['qid']])) {
$qans[$row['qid']] = array();
}
$qans[$row['qid']][$row['scale_id'].'~'.$row['code']] = ($useAssessments ? $row['assessment_value'] : $row['code']) . '|' . $row['answer'];
$qans[$row['qid']][$row['scale_id'].'~'.$row['code']] = ($useAssessments ? $row['assessment_value'] : '0') . '|' . $row['answer'];
}

return $qans;
Expand Down

0 comments on commit 3f9e6b0

Please sign in to comment.