@ -591,7 +591,7 @@ class mod_attendance_structure {
$extrafields = get_extra_user_fields($this->context, $fields);
$fields = array_merge($fields, $extrafields);
$userfields = user_picture::fields('u',$fields);
$userfields = user_picture::fields('u', $fields);
if (empty($this->pageparams->sort)) {
$this->pageparams->sort = ATT_SORT_DEFAULT;
@ -968,7 +968,6 @@ class mod_attendance_renderer extends plugin_renderer_base {
$rows[] = $row;
foreach ($reportdata->users as $user) {
$row = new html_table_row();
$row->cells[] = $this->build_data_cell($this->user_picture($user));