MDL-39186 quiz password form: set param types.

This commit is contained in:
Tim Hunt 2013-04-19 18:28:59 +01:00
parent 3a8c4380c0
commit ba86e1d1ee

View File

@ -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) {