summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-12-27 22:15:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-12-27 22:15:24 +0100
commit2eed83e02a35ba855cbed1cf3b3cefd0e23d85a1 (patch)
treef39e0af9688b05df2cadae6e45c5612efe64a257 /lib
parent34a19ee1bf97edcc8a58fc83bc89ed2b43717670 (diff)
derp
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx/Model/Journeys.pm6
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;
}