Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-38337_23' of git://github.com/timhunt/moodle into M…

…OODLE_23_STABLE
  • Loading branch information...
commit 57b9d94e8974d3345fd45cb55d03cdf11fb37876 2 parents 4f558e2 + 4300a02
@stronk7 stronk7 authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 mod/quiz/mod_form.php
View
4 mod/quiz/mod_form.php
@@ -381,6 +381,10 @@ protected function definition() {
// 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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.