mirror of
https://github.com/moodle/moodle.git
synced 2025-01-30 03:58:34 +01:00
MDL-38736 mod_choice: fix missing param type
This commit is contained in:
parent
373a8e052c
commit
8bd1829310
@ -50,6 +50,7 @@ class mod_choice_mod_form extends moodleform_mod {
|
||||
$repeateloptions['limit']['default'] = 0;
|
||||
$repeateloptions['limit']['disabledif'] = array('limitanswers', 'eq', 0);
|
||||
$repeateloptions['limit']['rule'] = 'numeric';
|
||||
$repeateloptions['limit']['type'] = PARAM_INT;
|
||||
|
||||
$repeateloptions['option']['helpbutton'] = array('choiceoptions', 'choice');
|
||||
$mform->setType('option', PARAM_CLEANHTML);
|
||||
|
Loading…
x
Reference in New Issue
Block a user