MDL-12070 - PARAM_CLEANHTML strips magic quotes..
This commit is contained in:
@@ -49,7 +49,7 @@ class mod_choice_mod_form extends moodleform_mod {
|
||||
$mform->setType('limit', PARAM_INT);
|
||||
|
||||
$repeateloptions['option']['helpbutton'] = array('options', get_string('modulenameplural', 'choice'), 'choice');
|
||||
$mform->setType('option', PARAM_CLEANHTML);
|
||||
$mform->setType('option', PARAM_CLEAN);
|
||||
|
||||
$mform->setType('optionid', PARAM_INT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user