Merge branch 'MDL-37465' of git://github.com/colchambers/moodle
[moodle.git] / question / type / edit_question_form.php
index f9f8872..1af551b 100644 (file)
@@ -366,6 +366,7 @@ abstract class question_edit_form extends question_wizard_form {
                 $mform->addElement('advcheckbox', 'shownumcorrect',
                         get_string('options', 'question'),
                         get_string('shownumpartscorrectwhenfinished', 'question'));
+                $mform->setDefault('shownumcorrect', true);
             }
         }
     }