From 0c05b71f5863f1fdcd062e1479702f436b2caa51 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 21 Sep 2006 13:11:05 +0000 Subject: [PATCH] Fix typo --- user/tabs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/tabs.php b/user/tabs.php index 19cb78a53e..d2a90a7b82 100644 --- a/user/tabs.php +++ b/user/tabs.php @@ -137,7 +137,7 @@ //print_object($user); // add in logic to check course read report - if (has_capability('moodle/user:viewactivitiesreport', $personalcontext) || ($course->showreports and $USER->id == $user->id)) { + if (has_capability('moodle/user:viewuseractivitiesreport', $personalcontext) || ($course->showreports and $USER->id == $user->id)) { $toprow[] = new tabobject('reports', $CFG->wwwroot.'/course/user.php?id='.$course->id. '&user='.$user->id.'&mode=outline', get_string('activityreports')); -- 2.39.5