summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index b1ebad1..66762f4 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -309,6 +309,11 @@ sub results {
$info //= q{};
$routeinfo //= q{};
+ # delayReason=" " means no delay reason
+ if ( $info eq q{ } ) {
+ $info = q{};
+ }
+
$train =~ s{#.*$}{};
push(