summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index eb8a657..6a53fe0 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -645,7 +645,10 @@ sub station {
}
else {
my $user = $self->get_user_status;
- if ( $user->{cancellation} ) {
+ if ( $user->{cancellation}
+ and $status->{station_eva} eq
+ $user->{cancellation}{dep_eva} )
+ {
@connecting_trains = $self->get_connecting_trains(
eva => $user->{cancellation}{dep_eva},
destination_name => $user->{cancellation}{arr_name}