Skip to content

Commit

Permalink
MDL-38711 qtype_multianswer: missing setType param
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Mar 26, 2013
1 parent 0231f91 commit e380d57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions question/type/multianswer/edit_multianswer_form.php
Expand Up @@ -251,6 +251,7 @@ protected function definition_inner($mform) {
$mform->setDefault('confirm', 0); $mform->setDefault('confirm', 0);
} else { } else {
$mform->addElement('hidden', 'confirm', 0); $mform->addElement('hidden', 'confirm', 0);
$mform->setType('confirm', PARAM_BOOL);
} }


$this->add_interactive_settings(true, true); $this->add_interactive_settings(true, true);
Expand Down

0 comments on commit e380d57

Please sign in to comment.