From 39a2e3814c1cd9e1b32fe4952da395a4878f986b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 26 Jan 2014 19:17:09 +0100 Subject: db-iris: Fix warnings when encountering unplanned result without platform --- Changelog | 5 +++++ bin/db-iris | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 ] ); } -- cgit v1.2.3