mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-39186 quiz password form: set param types.
This commit is contained in:
parent
3a8c4380c0
commit
ba86e1d1ee
@ -45,6 +45,7 @@ class mod_quiz_preflight_check_form extends moodleform {
|
||||
continue;
|
||||
}
|
||||
$mform->addElement('hidden', $name, $value);
|
||||
$mform->setType($name, PARAM_INT);
|
||||
}
|
||||
|
||||
foreach ($this->_customdata['rules'] as $rule) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user