MDL-29795 assign: Add course to user profile link
This commit is contained in:
@@ -220,8 +220,9 @@ foreach ($overrides as $override) {
|
||||
|
||||
|
||||
} else {
|
||||
$usergroupstr = '<a href="' . $userurl->out(true,
|
||||
array('id' => $override->userid)) . '" >' . fullname($override) . '</a>';
|
||||
$usergroupstr = html_writer::link($userurl->out(false,
|
||||
array('id' => $override->userid, 'course' => $course->id)),
|
||||
fullname($override));
|
||||
}
|
||||
|
||||
$class = '';
|
||||
|
||||
Reference in New Issue
Block a user