MDL-39940 tags: missing setType call

This commit is contained in:
Dan Poltawski
2013-06-05 16:16:49 +08:00
parent b6f8a93642
commit ed15e8a8a8
+2 -1
View File
@@ -56,6 +56,7 @@ class tag_edit_form extends moodleform {
if (has_capability('moodle/tag:manage', $systemcontext)) {
$mform->addElement('text', 'rawname', get_string('name', 'tag'),
'maxlength="'.TAG_MAX_LENGTH.'" size="'.TAG_MAX_LENGTH.'"');
$mform->setType('rawname', PARAM_NOTAGS);
}
$mform->addElement('editor', 'description_editor', get_string('description', 'tag'), null, $this->_customdata['editoroptions']);
@@ -74,4 +75,4 @@ class tag_edit_form extends moodleform {
}
}
}