mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-44398-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
cb3cc79c82
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user