Skip to content

Commit

Permalink
Survey: Fix export to PDF including open question
Browse files Browse the repository at this point in the history
Fixes #3920
  • Loading branch information
AngelFQC committed Dec 28, 2022
1 parent 6483079 commit 9c6c338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/survey/surveyUtil.class.php
Expand Up @@ -853,7 +853,7 @@ public static function display_question_report($survey_data)
/** @todo This function should return the options as this is needed further in the code */
$options = self::display_question_report_score($survey_data, $question, $offset, $lpItemId);
} elseif ($question['type'] === 'open' || $question['type'] === 'comment') {
echo '<div class="open-question">';
echo '<div class="open-question" style="padding: 1px 0;">';
/** @todo Also get the user who has answered this */
$sql = "SELECT * FROM $table_survey_answer
WHERE
Expand Down

0 comments on commit 9c6c338

Please sign in to comment.