From: poltawski Date: Thu, 8 Nov 2007 22:19:47 +0000 (+0000) Subject: MDL-12070 - PARAM_CLEANHTML strips magic quotes.. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=08aeb4aa2eb9caa613efffc07e4b67dfffc3c503;p=moodle.git MDL-12070 - PARAM_CLEANHTML strips magic quotes.. --- diff --git a/mod/choice/mod_form.php b/mod/choice/mod_form.php index 95452b2ba6..d47a06ec59 100644 --- a/mod/choice/mod_form.php +++ b/mod/choice/mod_form.php @@ -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);