diff options
author | Daniel Friesel <derf@finalrewind.org> | 2012-01-26 23:04:27 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2012-01-26 23:04:27 +0100 |
commit | 8f79386e9dc37f893d1c1e01741b7ab4a6f68b2c (patch) | |
tree | f609c5279016b1d4dce24d5323e7fa661be76f51 | |
parent | ab6e2009243e2ea00cb3b34587df2460a0b59e57 (diff) |
Route/Part.pm: Fix departure_stop_and_platform (closes github #3)
-rw-r--r-- | Changelog | 5 | ||||
-rw-r--r-- | lib/Travel/Routing/DE/VRR/Route/Part.pm | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +git HEAD + + * Fix bug in departure_stop_and_platform where the arrival_stop was used + in case of unknown platforms + Travel::Routing::DE::VRR 2.00 - Sun Dec 11 2011 * Now uses the efa.vrr.de XML interface diff --git a/lib/Travel/Routing/DE/VRR/Route/Part.pm b/lib/Travel/Routing/DE/VRR/Route/Part.pm index 4bfd96d..e938b56 100644 --- a/lib/Travel/Routing/DE/VRR/Route/Part.pm +++ b/lib/Travel/Routing/DE/VRR/Route/Part.pm @@ -44,7 +44,7 @@ sub departure_stop_and_platform { sprintf( '%s: %s', $self->get(qw(departure_stop departure_platform)) ); } - return $self->arrival_stop; + return $self->departure_stop; } sub extra { |