fixing a typo
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@
|
||||
|
||||
// no roles to display yet?
|
||||
if (empty($rolenames)) {
|
||||
if (has_capability('moodle/user:assign', $context)) {
|
||||
if (has_capability('moodle/role:assign', $context)) {
|
||||
redirect($CFG->wwwroot.'/'.$CFG->admin.'/roles/assign.php?contextid='.$context->id);
|
||||
} else {
|
||||
error ('No participants found for this course');
|
||||
|
||||
Reference in New Issue
Block a user