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.
This commit is contained in:
David Mudrak 2010-08-16 14:32:28 +00:00
parent 676351d856
commit ed14ad026c

View File

@ -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();