Merge branch 'MDL-54865-master' of git://github.com/ryanwyllie/moodle

This commit is contained in:
Dan Poltawski 2016-06-28 09:36:52 +01:00
commit be7d86e8ce

View File

@ -1039,7 +1039,8 @@ function print_grade_page_head($courseid, $active_type, $active_plugin=null,
if (isset($user)) {
$output = $OUTPUT->context_header(
array(
'heading' => fullname($user),
'heading' => html_writer::link(new moodle_url('/user/view.php', array('id' => $user->id,
'course' => $courseid)), fullname($user)),
'user' => $user,
'usercontext' => context_user::instance($user->id)
), 2