diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-09-08 21:15:46 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-09-08 21:15:46 +0200 |
commit | eb93ee40c9117db4947a5ce365aaec1a057fae94 (patch) | |
tree | f26ed473f2b0aa3988abefbd0af8b4d9725ceb88 /lib/Travelynx/Controller | |
parent | 4171fe22cadca8e1e61bc95595e4bcc1728e96bb (diff) |
passengerrights: fix a typo1.17.2
Diffstat (limited to 'lib/Travelynx/Controller')
-rw-r--r-- | lib/Travelynx/Controller/Passengerrights.pm | 2 |
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 ), |