Merge branch 'hotfix/contingent-import-fix'
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user