summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing/DE/VRR/Route
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-01-26 23:04:27 +0100
committerDaniel Friesel <derf@finalrewind.org>2012-01-26 23:04:27 +0100
commit8f79386e9dc37f893d1c1e01741b7ab4a6f68b2c (patch)
treef609c5279016b1d4dce24d5323e7fa661be76f51 /lib/Travel/Routing/DE/VRR/Route
parentab6e2009243e2ea00cb3b34587df2460a0b59e57 (diff)
Route/Part.pm: Fix departure_stop_and_platform (closes github #3)
Diffstat (limited to 'lib/Travel/Routing/DE/VRR/Route')
-rw-r--r--lib/Travel/Routing/DE/VRR/Route/Part.pm2
1 files changed, 1 insertions, 1 deletions
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 {