diff options
Diffstat (limited to 'lib/Travelynx/Controller/Traveling.pm')
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 2 |
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 { |