Permalink
Browse files

MDL-39940 tags: missing setType call

  • Loading branch information...
1 parent f36066f commit 2d0faffb7f40a14a4815a5e03258603031d54bb1 @danpoltawski danpoltawski committed Jun 5, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 tag/edit_form.php
View
@@ -56,6 +56,7 @@ function definition () {
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 @@ function definition () {
}
-}
+}

0 comments on commit 2d0faff

Please sign in to comment.