Merge branch 'MDL-30526' of git://git.luns.net.uk/moodle
This commit is contained in:
@@ -49,10 +49,11 @@ class mod_choice_mod_form extends moodleform_mod {
|
||||
$repeateloptions = array();
|
||||
$repeateloptions['limit']['default'] = 0;
|
||||
$repeateloptions['limit']['disabledif'] = array('limitanswers', 'eq', 0);
|
||||
$repeateloptions['limit']['rule'] = 'numeric';
|
||||
$mform->setType('limit', PARAM_INT);
|
||||
|
||||
$repeateloptions['option']['helpbutton'] = array('choiceoptions', 'choice');
|
||||
$mform->setType('option', PARAM_CLEAN);
|
||||
$mform->setType('option', PARAM_CLEANHTML);
|
||||
|
||||
$mform->setType('optionid', PARAM_INT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user