diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-06-12 21:10:48 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-06-12 21:10:48 +0200 |
commit | 29fb9c3a7ff1983efb441b2c47d1264d6d1b91c7 (patch) | |
tree | 677fd089b6af9fb4a257a5a00111efa1db31350a /lib | |
parent | ec2fa31a0f26a99e5d54da75c40a56261b692f90 (diff) |
Use explicit hafas=DB links4.27.4
Diffstat (limited to 'lib')
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 9e2f2ea..8e1e7df 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1999,7 +1999,7 @@ sub handle_result { my $station_name = $data->{station_name} // $self->stash('station'); my ( $api_link, $api_text, $api_icon ); my $params = $self->req->params->clone; - $params->param( hafas => not $params->param('hafas') ); + $params->param( hafas => $params->param('hafas') ? q{} : 'DB' ); if ( $params->param('hafas') ) { if ( $data->{station_eva} >= 8100000 and $data->{station_eva} < 8200000 ) |