summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index 251bc15..7ee04e0 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -1134,7 +1134,7 @@ sub redirect_to_station {
my $station = $self->param('station');
if ( my $s = $self->app->stations->search($station) ) {
- if ( $s->{hafas} ) {
+ if ( $s->{source} == 1 ) {
$self->redirect_to("/s/${station}?hafas=1");
}
else {