add_route_timestamps: IRIS route may be shorter than HAFAS route

This commit is contained in:
Birte Kristina Friesel 2024-05-22 19:20:39 +02:00
parent 4764fd9a6b
commit f7a9213961
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -1276,7 +1276,7 @@ sub startup {
my $new_eva = $new_route->[$i]->{eva}; my $new_eva = $new_route->[$i]->{eva};
my $new_entry = $new_route->[$i]; my $new_entry = $new_route->[$i];
if ( $old_name eq $new_name ) { if ( defined $old_name and $old_name eq $new_name ) {
if ( $old_entry->{rt_arr} if ( $old_entry->{rt_arr}
and not $new_entry->{rt_arr} ) and not $new_entry->{rt_arr} )
{ {