diff --git a/src/Entity/Destination.php b/src/Entity/Destination.php index b683160..b64d9ad 100644 --- a/src/Entity/Destination.php +++ b/src/Entity/Destination.php @@ -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);