summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/work.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-06-17 20:59:57 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-06-17 20:59:57 +0200
commit0bbdd768f44abae452802df7cf9fc88876dac338 (patch)
tree5aceab20983bea404e0acaa0349373bf1bc33bd2 /lib/Travelynx/Command/work.pm
parentc35548e9091929bcff9476086fa7df042f08a99d (diff)
prepare for wagon order support
Diffstat (limited to 'lib/Travelynx/Command/work.pm')
-rw-r--r--lib/Travelynx/Command/work.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm
index 3e7df72..6970918 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -66,7 +66,7 @@ sub run {
},
{ user_id => $uid }
);
- $self->app->add_route_timestamps( $uid, $train );
+ $self->app->add_route_timestamps( $uid, $train, 1 );
}
};
if ($@) {
@@ -113,7 +113,7 @@ sub run {
},
{ user_id => $uid }
);
- $self->app->add_route_timestamps( $uid, $train );
+ $self->app->add_route_timestamps( $uid, $train, 0 );
}
elsif ( $entry->{real_arr_ts} ) {
$self->app->log->debug(" - checking out");