fix: correctly determine 'SER' suffix
This commit is contained in:
@@ -154,7 +154,7 @@ class Destination implements TimestampableEntityInterface, SoftDeletableEntityIn
|
||||
}
|
||||
|
||||
if (str_starts_with($hotelCode, 'SER')) {
|
||||
return substr($hotelCode, 2, 3);
|
||||
return substr($hotelCode, 3, 3);
|
||||
}
|
||||
|
||||
return substr($hotelCode, 0, 3);
|
||||
|
||||
Reference in New Issue
Block a user