From 9b75f467680efabc935654514215d91dd6731bdc Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 5 Sep 2023 18:11:24 +0200 Subject: Journey: Fix (undocumented) route_start accessor --- lib/Travel/Status/DE/HAFAS/Journey.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm index 3533266..fcb33d4 100644 --- a/lib/Travel/Status/DE/HAFAS/Journey.pm +++ b/lib/Travel/Status/DE/HAFAS/Journey.pm @@ -218,7 +218,7 @@ sub new { } } else { - $ref->{route_start} = $stops[0]{name}; + $ref->{route_start} = $stops[0]{loc}{name}; } bless( $ref, $obj ); -- cgit v1.2.3