Merge branch 'MDL-44398-master' of git://github.com/ankitagarwal/moodle

This commit is contained in:
Marina Glancy 2014-05-01 14:21:39 +08:00
commit cb3cc79c82

View File

@ -100,7 +100,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);