Merge branch 'MDL-44398-25' of git://github.com/ankitagarwal/moodle into MOODLE_25_STABLE

This commit is contained in:
Marina Glancy
2014-05-01 14:22:12 +08:00
+1 -1
View File
@@ -101,7 +101,7 @@ if ($tagnew = $tagform->get_data()) {
}
}
if (!has_capability('moodle/tag:manage', $systemcontext) && !has_capability('moodle/tag:edit', $systemcontext)) {
if (!has_capability('moodle/tag:manage', $systemcontext)) {
unset($tagnew->name);
unset($tagnew->rawname);