MDL-14643 - Revert the hugely umpopular change from MDL-10841.

This commit is contained in:
tjhunt 2008-08-19 02:36:12 +00:00
parent 1c03ffe58b
commit b3efa7078d

View 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 = '';