mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-23561 temp workaround
This commit is contained in:
parent
39f5b5c1ec
commit
1b20b92792
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue