diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-05-22 19:20:39 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-05-22 19:20:39 +0200 |
commit | f7a9213961f02637b83b56ff0c7d72b16daa427d (patch) | |
tree | aef009487a31be1f335776aa757b845715a01caa | |
parent | 4764fd9a6b1ddedecacf18a0f98d6282217a2b77 (diff) |
add_route_timestamps: IRIS route may be shorter than HAFAS route2.6.11
-rwxr-xr-x | lib/Travelynx.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 09833d6..85eed6d 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1276,7 +1276,7 @@ sub startup { my $new_eva = $new_route->[$i]->{eva}; 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} and not $new_entry->{rt_arr} ) { |