manual station entry: fix HAFAS redirect
This commit is contained in:
parent
072d19abbb
commit
559a1cedd7
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue