Skip to content

Commit

Permalink
Missing serf_default on decimal points field.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhunt committed Jan 26, 2007
1 parent e61f870 commit 09f7fa1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/quiz/mod_form.php
Expand Up @@ -134,6 +134,7 @@ function definition() {
$mform->addElement('select', 'decimalpoints', get_string("decimaldigits", "quiz"), $options);
$mform->setHelpButton('decimalpoints', array("decimalpoints", get_string("decimaldigits","quiz"), "quiz"));
$mform->setAdvanced('decimalpoints', $CFG->quiz_fix_decimalpoints);
$mform->setDefault('decimalpoints', $CFG->quiz_decimalpoints);

$mform->addElement('hidden', 'grade', $CFG->quiz_maximumgrade);

Expand Down

0 comments on commit 09f7fa1

Please sign in to comment.