fix: correctly determine 'SER' suffix
This commit is contained in:
1 parent
9400b78a9f
commit
fb74544ba3
1 file changed
+1
-1
@@ -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