]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed the navigation on the course assign roles tab MDL-12828
authormoodler <moodler>
Fri, 4 Jan 2008 05:20:00 +0000 (05:20 +0000)
committermoodler <moodler>
Fri, 4 Jan 2008 05:20:00 +0000 (05:20 +0000)
admin/roles/tabs.php

index e1549b4f818beec260b16734f2965314b8b0874b..be51f4a714b0b83c17853fc02bc9637c59471936 100755 (executable)
@@ -47,8 +47,8 @@ if ($currenttab != 'update') {
                 $course = get_record('course', 'id', $context->instanceid);
 
                 require_login($course);
-                $navlinks[] = array('name' => $course->shortname,
-                                    'link' => "$CFG->wwwroot/course/view.php?id=$course->id",
+                $navlinks[] = array('name' => get_string('roles'),
+                                    'link' => "$CFG->wwwroot/admin/roles/assign.php?contextid=$context->id",
                                     'type' => 'misc');
                 $navigation = build_navigation($navlinks);
                 print_header($streditcoursesettings, $course->fullname, $navigation);