From: tjhunt Date: Wed, 15 Aug 2007 16:22:54 +0000 (+0000) Subject: MDL-10841 - show all feedback to multiple choice questions on the review page. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2288211e7cdaa7aedb1ce5e79bd2648f951ba8ae;p=moodle.git MDL-10841 - show all feedback to multiple choice questions on the review page. --- 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 = '';