summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-01-26 19:17:09 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-01-26 19:17:09 +0100
commit39a2e3814c1cd9e1b32fe4952da395a4878f986b (patch)
tree8d37e83fbad7e17fe006bb27efa2de82e61fe1d4
parentbfcb61caf8a5aadd5f750f1a7312a07f1ba3ee65 (diff)
db-iris: Fix warnings when encountering unplanned result without platform
-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
]
);
}