From 08aeb4aa2eb9caa613efffc07e4b67dfffc3c503 Mon Sep 17 00:00:00 2001 From: poltawski Date: Thu, 8 Nov 2007 22:19:47 +0000 Subject: [PATCH] MDL-12070 - PARAM_CLEANHTML strips magic quotes.. --- mod/choice/mod_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5