Skip to content
Browse files

MDL-38711 qtype_multianswer: missing setType param

  • Loading branch information...
1 parent 0231f91 commit e380d57fb6db50590fa6d69dcd59cc9bddbbba47 @danpoltawski danpoltawski committed Mar 26, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 question/type/multianswer/edit_multianswer_form.php
View
1 question/type/multianswer/edit_multianswer_form.php
@@ -251,6 +251,7 @@ protected function definition_inner($mform) {
$mform->setDefault('confirm', 0);
} else {
$mform->addElement('hidden', 'confirm', 0);
+ $mform->setType('confirm', PARAM_BOOL);
}
$this->add_interactive_settings(true, true);

0 comments on commit e380d57

Please sign in to comment.
Something went wrong with that request. Please try again.