Skip to content

Commit

Permalink
hafas-m: journey details: use proper line number accessor for ICE ser…
Browse files Browse the repository at this point in the history
…vices
  • Loading branch information
derf committed Dec 26, 2023
1 parent 3d4d74b commit ad54e05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/hafas-m
Original file line number Diff line number Diff line change
Expand Up @@ -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{};

Expand Down

0 comments on commit ad54e05

Please sign in to comment.