mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
user profile MDL-18914 Clicking on username in breadcrumb trail on messaging preferences page now works
This commit is contained in:
parent
3af6f43a77
commit
fa24e8750e
@ -175,7 +175,7 @@ if (has_capability('moodle/course:viewparticipants', $coursecontext) ||
|
||||
has_capability('moodle/site:viewparticipants', $systemcontext)) {
|
||||
$PAGE->navbar->add($strparticipants, new moodle_url($CFG->wwwroot.'/message/index.php', array('id'=>$course->id)));
|
||||
}
|
||||
$PAGE->navbar->add($userfullname, new moodle_url($CFG->wwwroot.'/message/view.php', array('id'=>$user->id, 'course'=>$course->id)));
|
||||
$PAGE->navbar->add($userfullname, new moodle_url($CFG->wwwroot.'/user/view.php', array('id'=>$user->id, 'course'=>$course->id)));
|
||||
$PAGE->navbar->add($streditmymessage);
|
||||
$PAGE->set_title("$course->shortname: $streditmymessage");
|
||||
if ($course->id != SITEID) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user