MDL-33315 blog: fixed up the navigation for when youre viewing another users blog

This commit is contained in:
Andrew Davis 2012-05-24 09:40:59 +07:00
parent 4f7f2a8828
commit c53a64449a

View File

@ -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);
}
}