diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2019-06-17 20:59:57 +0200 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2019-06-17 20:59:57 +0200 | 
| commit | 0bbdd768f44abae452802df7cf9fc88876dac338 (patch) | |
| tree | 5aceab20983bea404e0acaa0349373bf1bc33bd2 /lib/Travelynx/Command | |
| parent | c35548e9091929bcff9476086fa7df042f08a99d (diff) | |
prepare for wagon order support
Diffstat (limited to 'lib/Travelynx/Command')
| -rw-r--r-- | lib/Travelynx/Command/work.pm | 4 | 
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");  | 
