From 613f7d6087ab62f9fd36d3cb2c42da1f91ebb48e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 24 Nov 2019 20:32:24 +0100 Subject: Passengerrights: Fix typo --- lib/Travelynx/Controller/Passengerrights.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travelynx/Controller/Passengerrights.pm b/lib/Travelynx/Controller/Passengerrights.pm index d6ed39c..ba299b1 100644 --- a/lib/Travelynx/Controller/Passengerrights.pm +++ b/lib/Travelynx/Controller/Passengerrights.pm @@ -77,7 +77,7 @@ sub mark_substitute_connection { $journey->{from_substitute} = $first_substitute; $journey->{to_substitute} = $last_substitute; $journey->{substitute_delay} - = ( $last_substitute->{rt_arr_ts} - $journey->{sched_ar_ts} ) / 60; + = ( $last_substitute->{rt_arr_ts} - $journey->{sched_arr_ts} ) / 60; } } -- cgit v1.2.3