From: jamiesensei Date: Tue, 17 Oct 2006 11:44:13 +0000 (+0000) Subject: oops, forgot to set to PARAM_RAW for summary field which uses htmleditor on last... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=073fe8f980df386e9181aabf37c25c72174e199f;p=moodle.git oops, forgot to set to PARAM_RAW for summary field which uses htmleditor on last commit. --- diff --git a/course/request_form.php b/course/request_form.php index 0fec0af022..8c681ea7d0 100644 --- a/course/request_form.php +++ b/course/request_form.php @@ -13,7 +13,7 @@ class course_request_form extends moodleform { $mform->addElement('htmleditor','summary',get_string("summary"),array('rows'=>'15','cols'=>'50')); $mform->addRule('summary',get_string('missingsummary'),'required', null, 'client'); - $mform->setType('summary', PARAM_TEXT); + $mform->setType('summary', PARAM_RAW); $mform->addElement('textarea','reason',get_string("courserequestreason"),array('rows'=>'15','cols'=>'50')); $mform->addRule('reason',get_string('missingreqreason'),'required', null, 'client');