Skip to content

Commit

Permalink
$hafas->station: correctly determine 'name' and 'eva'
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed Apr 11, 2024
1 parent 22728aa commit 757cf4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Travel/Status/DE/HAFAS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ sub station {
}
}

my @prefcounts = sort { $b->[0] <=> $a->[0] }
my @prefcounts = sort { $b->[1] <=> $a->[1] }
map { [ $_, $prefc_by_loc{$_} ] } keys %prefc_by_loc;

if ( not @prefcounts ) {
Expand Down

0 comments on commit 757cf4d

Please sign in to comment.