]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-12070 - PARAM_CLEANHTML strips magic quotes..
authorpoltawski <poltawski>
Thu, 8 Nov 2007 22:19:47 +0000 (22:19 +0000)
committerpoltawski <poltawski>
Thu, 8 Nov 2007 22:19:47 +0000 (22:19 +0000)
mod/choice/mod_form.php

index 95452b2ba6c05ce43302a0e5cd711710acb06921..d47a06ec5932329c20b431489d5d8421b045c945 100644 (file)
@@ -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);