diff --git a/public/typo3conf/ext/ep_products/Classes/Service/ContingentImportService.php b/public/typo3conf/ext/ep_products/Classes/Service/ContingentImportService.php index ba784a21..be19c903 100644 --- a/public/typo3conf/ext/ep_products/Classes/Service/ContingentImportService.php +++ b/public/typo3conf/ext/ep_products/Classes/Service/ContingentImportService.php @@ -206,7 +206,6 @@ class ContingentImportService implements SingletonInterface, LoggerAwareInterfac $hotelData['busProId'] = (string) $xmlContingent['idbuspro']; $hotelData['code'] = (string) $xmlContingent['code']; - $roomTypes = $this->parseRoomTypes($xmlContingent->unterbringungen); if ($xmlContingent->idbuspro_kontingent_aus) { $linkedProductId = (int)$xmlContingent->idbuspro_kontingent_aus; @@ -219,6 +218,8 @@ class ContingentImportService implements SingletonInterface, LoggerAwareInterfac return 0; } + $roomTypes = $this->parseRoomTypes($xmlContingent->unterbringungen); + return $this->parseRooms($xmlContingent->kapazitaeten, $hotelData, $roomTypes); }