summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog5
-rw-r--r--lib/Travel/Routing/DE/VRR/Route/Part.pm2
2 files changed, 6 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index b7c7971..5a09a5b 100644
--- a/Changelog
+++ b/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
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 {