Avoid empty hotel categories
This commit is contained in:
@@ -420,7 +420,7 @@ class DateService implements SingletonInterface
|
|||||||
if (!$row['hotelShowAsTeaser']) {
|
if (!$row['hotelShowAsTeaser']) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$categoryUid = $row['hotelCategory'];
|
$categoryUid = $row['hotelCategory'] ?? Hotel::CATEGORY_STANDARD;
|
||||||
$hotelUid = $row['hotelUid'];
|
$hotelUid = $row['hotelUid'];
|
||||||
$hotelUri = $this->uriBuilder
|
$hotelUri = $this->uriBuilder
|
||||||
->reset()
|
->reset()
|
||||||
|
|||||||
Reference in New Issue
Block a user