]> git.mjollnir.org Git - moodle.git/commitdiff
Fix typo
authormoodler <moodler>
Thu, 21 Sep 2006 13:11:05 +0000 (13:11 +0000)
committermoodler <moodler>
Thu, 21 Sep 2006 13:11:05 +0000 (13:11 +0000)
user/tabs.php

index 19cb78a53eeca44afb955496f1cc34c8774590f9..d2a90a7b82aaa07849ba8167aaa028eb367c1ea6 100644 (file)
     //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.
                                       '&amp;user='.$user->id.'&amp;mode=outline', get_string('activityreports'));