summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-08 21:15:46 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-08 21:15:46 +0200
commiteb93ee40c9117db4947a5ce365aaec1a057fae94 (patch)
treef26ed473f2b0aa3988abefbd0af8b4d9725ceb88 /lib
parent4171fe22cadca8e1e61bc95595e4bcc1728e96bb (diff)
passengerrights: fix a typo1.17.2
Diffstat (limited to 'lib')
-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 dc73f37..1df2b78 100644
--- a/lib/Travelynx/Controller/Passengerrights.pm
+++ b/lib/Travelynx/Controller/Passengerrights.pm
@@ -190,7 +190,7 @@ sub generate {
$self->mark_substitute_connection($journey);
}
elsif ( $journey->{delay} < 120 ) {
- my @connections = $self->journey->get(
+ my @connections = $self->journeys->get(
uid => $uid,
after => $journey->{rt_arrival},
before => $journey->{rt_arrival}->clone->add( hours => 2 ),