diff --git a/question/type/match/edit_match_form.php b/question/type/match/edit_match_form.php index f29b3495644..9e72f5dd54b 100644 --- a/question/type/match/edit_match_form.php +++ b/question/type/match/edit_match_form.php @@ -18,7 +18,7 @@ class question_edit_match_form extends question_edit_form { * @param object $mform the form being built. */ function definition_inner(&$mform) { - $mform->addElement('advcheckbox', 'shuffleanswers', get_string('shuffle', 'quiz'), null, array(0,1)); + $mform->addElement('advcheckbox', 'shuffleanswers', get_string('shuffle', 'quiz'), null, null, array(0,1)); $mform->setHelpButton('shuffleanswers', array('matchshuffle', get_string('shuffle','quiz'), 'quiz')); $mform->setDefault('shuffleanswers', 1);