fix: correctly determine 'SER' suffix

This commit is contained in:
Björn Fromme
2025-12-18 12:44:28 +01:00
parent 9400b78a9f
commit fb74544ba3
+1 -1
View File
@@ -154,7 +154,7 @@ class Destination implements TimestampableEntityInterface, SoftDeletableEntityIn
} }
if (str_starts_with($hotelCode, 'SER')) { if (str_starts_with($hotelCode, 'SER')) {
return substr($hotelCode, 2, 3); return substr($hotelCode, 3, 3);
} }
return substr($hotelCode, 0, 3); return substr($hotelCode, 0, 3);