Merge branch 'master' into feature/stimulus

This commit is contained in:
Björn Fromme
2021-08-31 16:24:28 +02:00
@@ -268,7 +268,7 @@ class ContingentImportService implements SingletonInterface, LoggerAwareInterfac
if (in_array($roomCode, $this->ignoredRoomTypes, true)) {
continue;
}
$roomTypeBusProId = $roomType['link'] ?? $roomType['idBusPro'];
$roomTypeBusProId = $roomType['link'] ?: $roomType['idBusPro'];
$xpath = sprintf('zimmerliste/zimmer[@idbuspro="%d"]', $roomTypeBusProId);
$xmlRoom = $xmlDate->xpath($xpath)[0];
$this->calculateContingent($xmlRoom, $roomType, $date, $hotelData);