diff --git a/tag/edit.php b/tag/edit.php index e0c80f807d0..40421ae8333 100644 --- a/tag/edit.php +++ b/tag/edit.php @@ -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);