MDL-59528 user: Render user picture link with user's fullname

This commit is contained in:
Jun Pataleta 2017-07-18 17:13:01 +08:00
parent 3b1eba069e
commit c5d59db9a6

View File

@ -206,7 +206,7 @@ class participants_table extends \table_sql {
public function col_fullname($data) {
global $OUTPUT;
return $OUTPUT->user_picture($data, array('size' => 35, 'courseid' => $this->course->id)) . ' ' . fullname($data);
return $OUTPUT->user_picture($data, array('size' => 35, 'courseid' => $this->course->id, 'includefullname' => true));
}
/**