Merge branch 'master' into feature/multiple-hotelcodes

This commit is contained in:
Björn Fromme
2025-01-08 10:07:43 +01:00
3 changed files with 14 additions and 24 deletions
@@ -43,7 +43,7 @@ class HotelDataProvider
$hotels = [];
foreach ($this->getAll() as $hotel) {
if (str_starts_with($hotel->getCode(), $code)) {
if (str_starts_with($hotel->getCode(), $code) || str_ends_with($hotel->getCode(), $code)) {
$hotels[] = $hotel;
}
}