work: real_arr_ts may be undefined
This commit is contained in:
parent
2302e5388e
commit
3b6297b785
1 changed files with 2 additions and 1 deletions
|
@ -165,7 +165,8 @@ sub run {
|
|||
}
|
||||
else {
|
||||
$self->app->add_route_timestamps( $uid, $train, 0,
|
||||
$now->epoch > $entry->{real_arr_ts} );
|
||||
defined $entry->{real_arr_ts}
|
||||
and $now->epoch > $entry->{real_arr_ts} );
|
||||
}
|
||||
}
|
||||
elsif ( $entry->{real_arr_ts} ) {
|
||||
|
|
Loading…
Reference in a new issue