fix: several bug fixes as found in logs

This commit is contained in:
Björn Fromme committed 2024-10-14 15:01:17 +02:00
1 parent 760b3673fc
commit 5976668cb7
4 files changed
+13 -3

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ class DestinationType extends AbstractType
if (null !== $hotelBusProId) {
$hotel = $this->hotelDataProvider->get((int) $hotelBusProId);
$hotelLabel = sprintf('%s (%s)', $hotel->getName(), $hotel->getCode());
$hotelLabel = null !== $hotel ? sprintf('%s (%s)', $hotel->getName(), $hotel->getCode()) : 'unbekannt';
}
$form