Browse Source

Fix some coding guideline issues.

MOODLE_32_STABLE
Dan Marsden 8 years ago
parent
commit
0e31f6796a
  1. 2
      classes/structure.php
  2. 1
      renderer.php

2
classes/structure.php

@ -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;

1
renderer.php

@ -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));

Loading…
Cancel
Save