summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-05-27 08:35:32 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-05-27 08:35:32 +0200
commit843388f82ba323965e1bff926d785a60d45f5590 (patch)
tree70502c5657cd210f2b828f2d7d83e71b691cf731 /lib/Travel/Status/DE/EFA.pm
parent2cdd2e22c42385fd4ca2aa75569756ea17a601c4 (diff)
return a delay of undef when no delay information is available
Diffstat (limited to 'lib/Travel/Status/DE/EFA.pm')
-rw-r--r--lib/Travel/Status/DE/EFA.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm
index 4883ed0..4789ccc 100644
--- a/lib/Travel/Status/DE/EFA.pm
+++ b/lib/Travel/Status/DE/EFA.pm
@@ -336,7 +336,7 @@ sub results {
my $info = $e_info->textContent;
my $key = $e_line->getAttribute('key');
my $countdown = $e->getAttribute('countdown');
- my $delay = $e_info->getAttribute('delay') // 0;
+ my $delay = $e_info->getAttribute('delay');
my $type = $e_info->getAttribute('name');
my $platform_is_db = 0;