diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-26 15:05:35 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-26 15:05:35 +0100 |
commit | ad54e0585881edb1844883b6171b692a67e4bff5 (patch) | |
tree | df5e14b69b49b97322dd96d422ffaebb566e3f92 /bin | |
parent | 3d4d74b7922aed22993f07b3aab42a22b05bf4ef (diff) |
hafas-m: journey details: use proper line number accessor for ICE services
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hafas-m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hafas-m b/bin/hafas-m index dd5336f..3f6972c 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -386,8 +386,8 @@ elsif ( $opt{journey} ) { if ( $result->number ) { printf( " | Zug %s", $result->number ); } - if ( $result->line ) { - printf( " | Linie %s", $result->line ); + if ( $result->line_no ) { + printf( " | Linie %s", $result->line_no ); } say q{}; |