Avoid empty hotel categories

This commit is contained in:
Björn Fromme
2020-10-01 10:44:20 +02:00
parent 7e0f8f81a6
commit c3b127ada9
@@ -420,7 +420,7 @@ class DateService implements SingletonInterface
if (!$row['hotelShowAsTeaser']) {
continue;
}
$categoryUid = $row['hotelCategory'];
$categoryUid = $row['hotelCategory'] ?? Hotel::CATEGORY_STANDARD;
$hotelUid = $row['hotelUid'];
$hotelUri = $this->uriBuilder
->reset()