Skip to content
Snippets Groups Projects
Commit 5350949e authored by Moritz Strohm's avatar Moritz Strohm
Browse files

CourseDateAndRoomBookingExporter: circumvent a bug in RRV1 AssignEventList

parent ee94cf37
No related branches found
No related tags found
No related merge requests found
...@@ -640,6 +640,12 @@ class CourseDateAndRoomBookingExporter extends Exporter ...@@ -640,6 +640,12 @@ class CourseDateAndRoomBookingExporter extends Exporter
//been retrieved. //been retrieved.
continue; continue;
} }
if ($this->hide_past_events) {
//Extra check, maybe a bug in AssignEventlist:
if ($event->end < $begin->getTimestamp()) {
continue;
}
}
$course_date_id = ''; $course_date_id = '';
$course_id = ''; $course_id = '';
if (\CourseDate::exists($event->assign_user_id)) { if (\CourseDate::exists($event->assign_user_id)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment