diff --git a/schedule/parse.php b/schedule/parse.php index 4ef5deb..b0de0a0 100644 --- a/schedule/parse.php +++ b/schedule/parse.php @@ -46,6 +46,11 @@ foreach ($data['slots'] as $slot_id => $slot) { } $eid = &$slot['event_id']; + + if (!array_key_exists($eid, $data['events'])) { + continue; + } + $event = &$data['events'][$eid]; if (is_null($eid)) {