mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MOODLE_404_MDL-81613' of https://github.com/danielneis/moodle into MOODLE_404_STABLE
This commit is contained in:
commit
dcb43cf3b0
@ -191,11 +191,13 @@ class report_log_table_log extends table_sql {
|
||||
|
||||
} else if ($eventusername) {
|
||||
if (empty($this->download)) {
|
||||
$params = array('id' => $event->userid);
|
||||
$params = ['id' => $event->userid];
|
||||
if ($event->courseid) {
|
||||
$params['course'] = $event->courseid;
|
||||
}
|
||||
$username = html_writer::link(new moodle_url('/user/view.php', $params), $eventusername);
|
||||
} else {
|
||||
$username = $eventusername;
|
||||
}
|
||||
} else {
|
||||
$username = '-';
|
||||
|
Loading…
x
Reference in New Issue
Block a user