summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog5
-rwxr-xr-xbin/db-iris2
2 files changed, 6 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 64d350b..7fd3129 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,8 @@
+git HEAD
+
+ * Fix warnings when encountering unplanned (fchg-only) trains without
+ arrival or departure platform
+
Travel::Status::DE::IRIS 0.01 - Fri Jan 24 2014
* Initial release. Experimental, API may change without notice
diff --git a/bin/db-iris b/bin/db-iris
index 147119d..baf7627 100755
--- a/bin/db-iris
+++ b/bin/db-iris
@@ -247,7 +247,7 @@ for my $d ( $status->results() ) {
[
$timestr, $d->train,
$edata{route} ? join( q{ }, $d->route_interesting ) : q{},
- $d->route_end, $d->platform, $d
+ $d->route_end, $d->platform // q{}, $d
]
);
}