diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-12-27 22:15:24 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-12-27 22:15:24 +0100 |
commit | 2eed83e02a35ba855cbed1cf3b3cefd0e23d85a1 (patch) | |
tree | f39e0af9688b05df2cadae6e45c5612efe64a257 /lib | |
parent | 34a19ee1bf97edcc8a58fc83bc89ed2b43717670 (diff) |
derp
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Travelynx/Model/Journeys.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Travelynx/Model/Journeys.pm b/lib/Travelynx/Model/Journeys.pm index 404567b..f0bf842 100755 --- a/lib/Travelynx/Model/Journeys.pm +++ b/lib/Travelynx/Model/Journeys.pm @@ -1345,10 +1345,10 @@ sub compute_review { my ( $from, $to ) = split( qr{[|]}, $trips[$i][0] ); my $found = 0; for my $j ( 0 .. $i - 1 ) { - if ( $review{top_trip_count}[$j][0] eq $to - and $review{top_trip_count}[$j][2] eq $from ) + if ( $review{top_trips}[$j][0] eq $to + and $review{top_trips}[$j][2] eq $from ) { - $review{top_trip_count}[$j][1] = '↔'; + $review{top_trips}[$j][1] = '↔'; $found = 1; last; } |