passengerrights: fix a typo

This commit is contained in:
Daniel Friesel 2020-09-08 21:15:46 +02:00
parent 4171fe22ca
commit eb93ee40c9

View file

@ -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 ),