diff --git a/schedule/parse.php b/schedule/parse.php index 68fac65..13e07f1 100644 --- a/schedule/parse.php +++ b/schedule/parse.php @@ -33,6 +33,7 @@ date_default_timezone_set('Europe/Sofia'); setlocale(LC_TIME, $languages[$lang]['locale']); foreach ($data['slots'] as $slot_id => $slot) { + if (! in_array($slot['hall_id'], $allowedhallids)) continue; $slotTime = $slot['starts_at']; $slotDate = date('d', $slotTime);