Unverified Commit c8e94d62 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

work: iris: ensure that real_arr_ts is defined

parent 8e58c773
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -782,7 +782,9 @@ sub run {
						$self->app->add_stationinfo( $uid, 0, $train->train_id,
							$dep, $arr );
					}
					if ( $now->epoch - $entry->{real_arr_ts} < 900 ) {
					if ( defined $entry->{real_arr_ts}
						and $now->epoch - $entry->{real_arr_ts} < 900 )
					{
						my @destinations
						  = $self->app->journeys->get_connection_targets(
							uid        => $uid,