Browse Source

Fix issue with export when status values are hidden.

40-behatfixes
Dan Marsden 4 years ago
parent
commit
bed5ca6f39
  1. 2
      renderables.php

2
renderables.php

@ -724,7 +724,7 @@ class attendance_report_data implements renderable {
$this->sessions = $att->get_filtered_sessions(); $this->sessions = $att->get_filtered_sessions();
$this->statuses = $att->get_statuses(true, true); $this->statuses = $att->get_statuses(true, true);
$this->allstatuses = $att->get_statuses(false, true); $this->allstatuses = attendance_get_statuses($att->id, false);
if ($att->pageparams->view == ATT_VIEW_SUMMARY) { if ($att->pageparams->view == ATT_VIEW_SUMMARY) {
$this->summary = new mod_attendance_summary($att->id); $this->summary = new mod_attendance_summary($att->id);

Loading…
Cancel
Save