mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-33315 blog: fixed up the navigation for when youre viewing another users blog
This commit is contained in:
parent
4f7f2a8828
commit
c53a64449a
@ -192,6 +192,8 @@ if (!empty($userid)) {
|
||||
if (!blog_user_can_view_user_entry($userid)) {
|
||||
print_error('cannotviewcourseblog', 'blog');
|
||||
}
|
||||
|
||||
$PAGE->navigation->extend_for_user($user);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user