diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-26 09:15:33 +0200 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-26 09:15:33 +0200 | 
| commit | 559a1cedd7814d101743f718f1db2760338ab51f (patch) | |
| tree | 2c7486ea5437361cc85b7dbfbe073ba9e0182ba1 | |
| parent | 072d19abbb981e49e27d13884283b4d6904a5705 (diff) | |
manual station entry: fix HAFAS redirect
| -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 { | 
