diff --git a/endpoints/event/event.php b/endpoints/event/event.php index 1985d086..037a6734 100644 --- a/endpoints/event/event.php +++ b/endpoints/event/event.php @@ -201,7 +201,7 @@ class EventBaseResponse extends TemplateResponse implements ICache } } - $itemCnd = ['OR']; + $itemCnd = []; if ($_holidayId) { // tab: criteria-of @@ -272,6 +272,7 @@ class EventBaseResponse extends TemplateResponse implements ICache // not checking for loot ... cant distinguish between eventLoot and fillerCrapLoot if ($itemCnd) { + array_unshift($itemCnd, 'OR'); $eventItems = new ItemList($itemCnd); if (!$eventItems->error) {