From 62d22075c05ef49be4cf67353e95d159984fd56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 23 Jun 2020 17:43:44 +0200 Subject: [PATCH] Rearrange order of services in poupup --- .../ext/ep_products/Classes/Service/DateImportService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }