MDL-11992: adding course tagging patch, by John Beedell. This feature is not
active by default at this time. Related help files are not included in this commit, as they are being revised (see issue 15385) and will be sent in soon.
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ if ($tagnew = $tagform->get_data()) {
|
||||
if (has_capability('moodle/tag:manage', $systemcontext)) {
|
||||
// rename tag
|
||||
if(!tag_rename($tag->id, $tagnew->rawname)) {
|
||||
error('Error updating tag record');
|
||||
print_error('errorupdatingrecord', 'tag');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user