Skip to content

Commit

Permalink
Fixed issue #CT-614: exporting responses in "Full answers" mode does …
Browse files Browse the repository at this point in the history
…not export the comment field of the "List with comment" question type
  • Loading branch information
ptelu committed Jan 26, 2024
1 parent 2412205 commit 9986adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/admin/export/SurveyObj.php
Expand Up @@ -148,7 +148,7 @@ public function getFullAnswer($fieldName, $answerCode, Translator $translator, $
break;

case Question::QT_O_LIST_WITH_COMMENT: //DROPDOWN LIST WITH COMMENT
if (isset($answer)) {
if (!empty($answer)) {
//This is one of the dropdown list options.
$fullAnswer = $answer;
} else {
Expand Down

0 comments on commit 9986adc

Please sign in to comment.