diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-09-05 18:11:24 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-09-05 18:11:24 +0200 |
commit | 9b75f467680efabc935654514215d91dd6731bdc (patch) | |
tree | 20f74d418b0dcdc131af1bc2866aff9db1905329 /lib/Travel/Status/DE/HAFAS/Journey.pm | |
parent | eae85a8a1d4df9ca277f6cfb19e40ead51e44073 (diff) |
Journey: Fix (undocumented) route_start accessor
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS/Journey.pm')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Journey.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |