Rewrite the schedule generation script #31

Merged
user890104 merged 19 commits from schedule-rewrite into master 2016-10-24 00:52:04 +03:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 4eddfb2d5a - Show all commits

View File

@ -46,6 +46,11 @@ foreach ($data['slots'] as $slot_id => $slot) {
} }
$eid = &$slot['event_id']; $eid = &$slot['event_id'];
if (!array_key_exists($eid, $data['events'])) {
continue;
}
$event = &$data['events'][$eid]; $event = &$data['events'][$eid];
if (is_null($eid)) { if (is_null($eid)) {