Browse Source

codechecker fix.

MOODLE_35_STABLE
Dan Marsden 7 years ago
parent
commit
095d21d90e
  1. 2
      renderer.php

2
renderer.php

@ -1016,7 +1016,7 @@ class mod_attendance_renderer extends plugin_renderer_base {
$o .= html_writer::div("<h3>".get_string('graded', 'mod_attendance')."</h3>"); $o .= html_writer::div("<h3>".get_string('graded', 'mod_attendance')."</h3>");
} }
if (!empty($table->data)) { if (!empty($table->data)) {
// don't bother printing the table if no sessions are being shown. // Don't bother printing the table if no sessions are being shown.
$o .= html_writer::table($table); $o .= html_writer::table($table);
} }

Loading…
Cancel
Save