mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
navigation MDL-14632 Gave user branches a more useful key
This commit is contained in:
parent
c0cc6dafa3
commit
25aad2c4bc
@ -1482,7 +1482,7 @@ class global_navigation extends navigation_node {
|
||||
$usersnode->action = new moodle_url('/user/index.php', array('id'=>$course->id));
|
||||
}
|
||||
// Add a branch for the current user
|
||||
$usernode = $usersnode->add(fullname($user, true));
|
||||
$usernode = $usersnode->add(fullname($user, true), null, self::TYPE_USER, null, $user->id);
|
||||
}
|
||||
|
||||
if ($this->page->context->contextlevel == CONTEXT_USER && $user->id == $this->page->context->instanceid) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user