missing check for allowedhallids

This commit is contained in:
Vasil Kolev 2015-10-22 14:09:29 +03:00 committed by Openfest
parent 8388551abd
commit dde9dea189
1 changed files with 1 additions and 0 deletions

View File

@ -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);