Skip to content

Commit

Permalink
fix travis errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jrm-unamur committed Sep 10, 2019
1 parent aca190f commit 40f173f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,15 +456,15 @@ protected function section_activity_summary($section, $course, $mods) {
}
$o.= html_writer::end_tag('div');

// Output section completion data
// Output section completion data.
if (!$course->sectionprogress && $total > 0) {
$a = new stdClass;
$a->complete = $complete;
$a->total = $total;

$o.= html_writer::start_tag('div', array('class' => 'section-summary-activities mdl-right'));
$o.= html_writer::tag('span', get_string('progresstotal', 'completion', $a), array('class' => 'activity-count'));
$o.= html_writer::end_tag('div');
$o .= html_writer::start_tag('div', array('class' => 'section-summary-activities mdl-right'));
$o .= html_writer::tag('span', get_string('progresstotal', 'completion', $a), array('class' => 'activity-count'));
$o .= html_writer::end_tag('div');
}

return $o;
Expand Down

0 comments on commit 40f173f

Please sign in to comment.