From ed14ad026c5f29bfea04bcf1bf7fd3757ce32189 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Mon, 16 Aug 2010 14:32:28 +0000 Subject: [PATCH] MDL-21695 MDL-16094 Fixing regression introduced by recent qtype conversion This replacement had already been done in 5fcefc9 but unfortunately the previous code was reintroduced in fe6ce23 again. --- question/type/calculatedmulti/edit_calculatedmulti_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/calculatedmulti/edit_calculatedmulti_form.php b/question/type/calculatedmulti/edit_calculatedmulti_form.php index a2e736f21ae..93a0a2af893 100644 --- a/question/type/calculatedmulti/edit_calculatedmulti_form.php +++ b/question/type/calculatedmulti/edit_calculatedmulti_form.php @@ -115,7 +115,7 @@ class question_edit_calculatedmulti_form extends question_edit_form { $mform->setDefault('single', 1); $mform->addElement('advcheckbox', 'shuffleanswers', get_string('shuffleanswers', 'qtype_multichoice'), null, null, array(0,1)); - $mform->setHelpButton('shuffleanswers', array('multichoiceshuffle', get_string('shuffleanswers','qtype_multichoice'), 'qtype_multichoice')); + $mform->addHelpButton('shuffleanswers', 'shuffleanswers', 'qtype_multichoice'); $mform->setDefault('shuffleanswers', 1); $numberingoptions = $QTYPES['multichoice']->get_numbering_styles();