diff --git a/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php b/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php index f6a8401c..81fb38ae 100644 --- a/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php +++ b/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php @@ -456,15 +456,15 @@ class DateImportService implements SingletonInterface, LoggerAwareInterface protected function combineServices(array $skiPass, array $servicesBoard, array $servicesIncluded) { $combinedServices = []; + if ($servicesIncluded) { + array_push($combinedServices, ...$servicesIncluded); + } if ($skiPass) { array_push($combinedServices, ...$skiPass); } if ($servicesBoard) { array_push($combinedServices, ...$servicesBoard); } - if ($servicesIncluded) { - array_push($combinedServices, ...$servicesIncluded); - } return $combinedServices; }