Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…OODLE_24_STABLE
  • Loading branch information...
commit 32ef8734a9d1a14ee9006af0df26f511ccbdadd6 2 parents e87d98d + 50e9f0e
@marinaglancy marinaglancy authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 mod/quiz/report/grading/gradingsettings_form.php
View
5 mod/quiz/report/grading/gradingsettings_form.php
@@ -90,6 +90,11 @@ protected function definition() {
foreach ($this->hidden as $name => $value) {
$mform->addElement('hidden', $name, $value);
+ if ($name == 'mode') {
+ $mform->setType($name, PARAM_ALPHA);
+ } else {
+ $mform->setType($name, PARAM_INT);
+ }
}
$mform->addElement('submit', 'submitbutton', get_string('changeoptions', 'quiz_grading'));
Please sign in to comment.
Something went wrong with that request. Please try again.