schedule: fix for transposition to work
This commit is contained in:
parent
5821861655
commit
cfe9b21b82
|
@ -82,7 +82,6 @@ function parseData($config, $data) {
|
|||
$microslots[] = [$lastTs, $ts];
|
||||
$lastTs = $ts;
|
||||
}
|
||||
|
||||
// Fill in the event ID for each time slot in each hall
|
||||
$events = [];
|
||||
|
||||
|
@ -120,9 +119,8 @@ function parseData($config, $data) {
|
|||
}
|
||||
}
|
||||
|
||||
$events[] = $hall_data;
|
||||
$events[$hall_id] = $hall_data;
|
||||
}
|
||||
|
||||
// Remove halls with no events after filtering
|
||||
$count = count($events);
|
||||
for ($i = 0; $i < $count; ++$i) {
|
||||
|
|
Loading…
Reference in New Issue