summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-11-24 20:32:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-11-24 20:32:24 +0100
commit613f7d6087ab62f9fd36d3cb2c42da1f91ebb48e (patch)
tree99147c0d8ddf32f6f58e89e2df8f2709987ac935 /lib/Travelynx
parentb3b0a055b9b4c3ab332f75070ce1fa80a3638105 (diff)
Passengerrights: Fix typo1.10.4
Diffstat (limited to 'lib/Travelynx')
-rw-r--r--lib/Travelynx/Controller/Passengerrights.pm2
1 files changed, 1 insertions, 1 deletions
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;
}
}