summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-05-22 19:20:39 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-05-22 19:20:39 +0200
commitf7a9213961f02637b83b56ff0c7d72b16daa427d (patch)
treeaef009487a31be1f335776aa757b845715a01caa
parent4764fd9a6b1ddedecacf18a0f98d6282217a2b77 (diff)
add_route_timestamps: IRIS route may be shorter than HAFAS route2.6.11
-rwxr-xr-xlib/Travelynx.pm2
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} )
{