mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Fixed the navigation on the course assign roles tab MDL-12828
This commit is contained in:
parent
8ae838f3c0
commit
0ef7e7e542
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue