From 294a176fc758b6334605b0ef31b683274e10089f Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Fri, 31 Aug 2007 08:21:16 +0000 Subject: [PATCH] fixing a typo --- user/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/index.php b/user/index.php index 865d84deba6..b7af2906aee 100644 --- a/user/index.php +++ b/user/index.php @@ -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');