Skip to content
Browse files

Route/Part.pm: Fix departure_stop_and_platform (closes github #3)

  • Loading branch information...
1 parent ab6e200 commit 8f79386e9dc37f893d1c1e01741b7ab4a6f68b2c @derf committed Jan 26, 2012
Showing with 6 additions and 1 deletion.
  1. +5 −0 Changelog
  2. +1 −1 lib/Travel/Routing/DE/VRR/Route/Part.pm
View
5 Changelog
@@ -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
View
2 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 {

0 comments on commit 8f79386

Please sign in to comment.
Something went wrong with that request. Please try again.