Skip to content

Commit

Permalink
Fixed issue #17774: Dual scale answer texts are not exported correctl…
Browse files Browse the repository at this point in the history
…y when using full text option (#2190)

Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
  • Loading branch information
gabrieljenik and encuestabizdevgit committed Jan 11, 2022
1 parent 188d35d commit 57beb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/admin/export/SurveyObj.php
Expand Up @@ -127,7 +127,7 @@ public function getFullAnswer($fieldName, $answerCode, Translator $translator, $
$answers = $this->getAnswers($questionId, 1);
}
if (array_key_exists($answerCode, $answers)) {
$fullAnswer = $answers[$answerCode]['answer'];
$fullAnswer = $answers[$answerCode];
} else {
$fullAnswer = null;
}
Expand Down

0 comments on commit 57beb3c

Please sign in to comment.