Permalink
Browse files

MDL-39186 quiz password form: set param types.

  • Loading branch information...
1 parent 3a8c438 commit ba86e1d1eef895447a4239b566097c2673099e3d @timhunt timhunt committed Apr 19, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/quiz/accessmanager_form.php
@@ -45,6 +45,7 @@ protected function definition() {
continue;
}
$mform->addElement('hidden', $name, $value);
+ $mform->setType($name, PARAM_INT);
}
foreach ($this->_customdata['rules'] as $rule) {

0 comments on commit ba86e1d

Please sign in to comment.