Skip to content

Commit

Permalink
MDL-39940 tags: missing setType call
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Jun 5, 2013
1 parent b6f8a93 commit ed15e8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tag/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand All @@ -74,4 +75,4 @@ function definition () {

}

}
}

0 comments on commit ed15e8a

Please sign in to comment.