From 2eed83e02a35ba855cbed1cf3b3cefd0e23d85a1 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 27 Dec 2022 22:15:24 +0100 Subject: derp --- lib/Travelynx/Model/Journeys.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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; } -- cgit v1.2.3