Permalink
Browse files

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

…OODLE_24_STABLE
  • Loading branch information...
2 parents 6a34b93 + 0e45118 commit 7b8110d4b0a911a1a343c4ae8036ce4499701970 @stronk7 stronk7 committed Mar 11, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 mod/quiz/mod_form.php
@@ -388,6 +388,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();
}

0 comments on commit 7b8110d

Please sign in to comment.