oops, forgot to set to PARAM_RAW for summary field which uses htmleditor on last commit.

This commit is contained in:
jamiesensei
2006-10-17 11:44:13 +00:00
parent b6241ce2c8
commit 073fe8f980
+1 -1
View File
@@ -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');