Merge branch 'hotfix/import-fix' into develop
This commit is contained in:
@@ -268,7 +268,7 @@ class ContingentImportService implements SingletonInterface, LoggerAwareInterfac
|
|||||||
if (in_array($roomCode, $this->ignoredRoomTypes, true)) {
|
if (in_array($roomCode, $this->ignoredRoomTypes, true)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$roomTypeBusProId = $roomType['link'] ?? $roomType['idBusPro'];
|
$roomTypeBusProId = $roomType['link'] ?: $roomType['idBusPro'];
|
||||||
$xpath = sprintf('zimmerliste/zimmer[@idbuspro="%d"]', $roomTypeBusProId);
|
$xpath = sprintf('zimmerliste/zimmer[@idbuspro="%d"]', $roomTypeBusProId);
|
||||||
$xmlRoom = $xmlDate->xpath($xpath)[0];
|
$xmlRoom = $xmlDate->xpath($xpath)[0];
|
||||||
$this->calculateContingent($xmlRoom, $roomType, $date, $hotelData);
|
$this->calculateContingent($xmlRoom, $roomType, $date, $hotelData);
|
||||||
|
|||||||
Reference in New Issue
Block a user