summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx')
-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;
}