MDL-13691 - make the tag description edition work again.
This commit is contained in:
@@ -49,6 +49,8 @@ $tagform->set_data($tag);
|
||||
// If new data has been sent, update the tag record
|
||||
if ($tagnew = $tagform->get_data()) {
|
||||
|
||||
tag_description_set($tag_id, stripslashes($tagnew->description), $tagnew->descriptionformat);
|
||||
|
||||
if (!has_capability('moodle/tag:manage', $systemcontext)) {
|
||||
unset($tagnew->name);
|
||||
unset($tagnew->rawname);
|
||||
|
||||
Reference in New Issue
Block a user