From 2d7ac617312ef077a501c0cb6ac5e4c341363ada Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 2 Jul 2021 19:44:11 +1200 Subject: [PATCH] Fix issue with export when status values are hidden. --- renderables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderables.php b/renderables.php index 5bd7645..10bd692 100644 --- a/renderables.php +++ b/renderables.php @@ -724,7 +724,7 @@ class attendance_report_data implements renderable { $this->sessions = $att->get_filtered_sessions(); $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) { $this->summary = new mod_attendance_summary($att->id);