From 83b2225a4d78eb948a1bc5841c676c97e78f414f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 4 Jul 2021 14:28:58 +0200 Subject: stationboard: extend external DS100 prefix list --- lib/DBInfoscreen/Controller/Stationboard.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/DBInfoscreen/Controller') diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 0bf1895..c01d299 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -49,7 +49,8 @@ sub handle_no_results { ); return; } - if ( $data->{station_ds100} and $data->{station_ds100} =~ m{ ^ [XYZ] }x ) { + if ( $data->{station_ds100} and $data->{station_ds100} =~ m{ ^ [OPQXYZ] }x ) + { $self->render( 'landingpage', error => ( $errstr // "Keine Abfahrten an '$station'" ) -- cgit v1.2.3