summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-05 21:45:05 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-05 21:45:05 +0200
commit7f84288db59190513213fd3ad81bdcdb48105de2 (patch)
tree6d63b1f033184c14efb1750f510828ea3014a3ff
parent45f409e3dfd8a1bbd07d4c05e3917c165fb2e343 (diff)
checkin: Fix checkout path if currently checked into cancelled train
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
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(