From 2288211e7cdaa7aedb1ce5e79bd2648f951ba8ae Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 15 Aug 2007 16:22:54 +0000 Subject: [PATCH] MDL-10841 - show all feedback to multiple choice questions on the review page. --- question/type/multichoice/questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/multichoice/questiontype.php b/question/type/multichoice/questiontype.php index 270592f8ce..4af601ffe5 100644 --- a/question/type/multichoice/questiontype.php +++ b/question/type/multichoice/questiontype.php @@ -317,7 +317,7 @@ class question_multichoice_qtype extends default_questiontype { format_text($answer->answer, FORMAT_MOODLE, $formatoptions, $cmoptions->course); // Print feedback if feedback is on - if (($options->feedback || $options->correct_responses) && $checked) { + if (($options->feedback || $options->correct_responses) && ($checked || $options->readonly)) { $a->feedback = format_text($answer->feedback, true, $formatoptions, $cmoptions->course); } else { $a->feedback = ''; -- 2.39.5