diff --git a/web/typo3conf/ext/ep_products/Classes/Service/ResellerService.php b/web/typo3conf/ext/ep_products/Classes/Service/ResellerService.php index 03958165..8e807100 100644 --- a/web/typo3conf/ext/ep_products/Classes/Service/ResellerService.php +++ b/web/typo3conf/ext/ep_products/Classes/Service/ResellerService.php @@ -83,7 +83,7 @@ class ResellerService implements SingletonInterface $hotelData = \EP\EpProducts\Domain\Serialization\Hotel::fromEntity($hotel); $dates = $this->productRepository->getDatesForExport($product, $hotel); $hotelData->dates['date'] = $this->preprocessDates($dates); - $data->hotels['hotel'] = $hotelData; + $data->hotels['hotel'][] = $hotelData; } return $data;