]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14643 - Revert the hugely umpopular change from MDL-10841.
authortjhunt <tjhunt>
Tue, 19 Aug 2008 02:36:12 +0000 (02:36 +0000)
committertjhunt <tjhunt>
Tue, 19 Aug 2008 02:36:12 +0000 (02:36 +0000)
question/type/multichoice/questiontype.php

index 701ba4b481176785cf2bd87561cb7d57cb57f659..02d48e29b880c259f59cbe91b79df7557f4167e7 100644 (file)
@@ -326,7 +326,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 || $options->readonly)) {
+            if (($options->feedback || $options->correct_responses) && $checked) {
                 $a->feedback = format_text($answer->feedback, true, $formatoptions, $cmoptions->course);
             } else {
                 $a->feedback = '';