From 30cdc044f7d7b1ea6bd88b7803e0bd5ae08cdecb Mon Sep 17 00:00:00 2001 From: pichetp Date: Wed, 7 Mar 2007 19:24:10 +0000 Subject: [PATCH] adding a null, line 21 MDL-8806 --- question/type/match/edit_match_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);