From dde9dea1893352c7e4db0de11687f02731e77b8f Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Thu, 22 Oct 2015 14:09:29 +0300 Subject: [PATCH] missing check for allowedhallids --- schedule/parse.php | 1 + 1 file changed, 1 insertion(+) 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);