From 7f84288db59190513213fd3ad81bdcdb48105de2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 5 Apr 2019 21:45:05 +0200 Subject: [PATCH] checkin: Fix checkout path if currently checked into cancelled train --- lib/Travelynx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 25d45d3..7e56468 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -583,7 +583,7 @@ qq{select * from pending_mails where email = ? and num_tries > 1;} elsif ( $user->{cancelled} ) { # Same - $self->cancelled_to($station); + $self->checkout($station, 1, $self->app->action_type->{cancelled_to}); } my $success = $self->app->action_query->execute(