From 1b20b92792eaf6795d8ca14d52626341fd414b07 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Wed, 28 Jul 2010 14:16:17 +0000 Subject: [PATCH] MDL-23561 temp workaround --- mod/choice/mod_form.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/choice/mod_form.php b/mod/choice/mod_form.php index 12ec459077d..1129ffc6ee1 100644 --- a/mod/choice/mod_form.php +++ b/mod/choice/mod_form.php @@ -51,7 +51,8 @@ class mod_choice_mod_form extends moodleform_mod { $repeateloptions['limit']['disabledif'] = array('limitanswers', 'eq', 0); $mform->setType('limit', PARAM_INT); - $repeateloptions['option']['helpbutton'] = array('choiceoptions', get_string('modulenameplural', 'choice'), 'choice'); + //TODO: MDL-23561 temp workaround for fatal errors caused by following line + //$repeateloptions['option']['helpbutton'] = array('choiceoptions', get_string('modulenameplural', 'choice'), 'choice'); $mform->setType('option', PARAM_CLEAN); $mform->setType('optionid', PARAM_INT);