Merge branch 'MDL-38337' of git://github.com/timhunt/moodle
This commit is contained in:
@@ -388,6 +388,10 @@ class mod_quiz_mod_form extends moodleform_mod {
|
||||
// Check and act on whether setting outcomes is considered an advanced setting.
|
||||
$mform->setAdvanced('modoutcomes', !empty($quizconfig->outcomes_adv));
|
||||
|
||||
// The standard_coursemodule_elements method sets this to 100, but the
|
||||
// quiz has its own setting, so use that.
|
||||
$mform->setDefault('grade', $quizconfig->maximumgrade);
|
||||
|
||||
// -------------------------------------------------------------------------------
|
||||
$this->add_action_buttons();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user