From fb74544ba3a9a1b16c5cc1b7b67eccfb21c3953e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 18 Dec 2025 12:44:28 +0100 Subject: [PATCH] fix: correctly determine 'SER' suffix --- src/Entity/Destination.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);