Merge branch 'master' into feature/multiple-hotelcodes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user