MDL-39940 tags: missing setType call
This commit is contained in:
+2
-1
@@ -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 {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user