diff options
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-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 bfb9289..4a46821 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -51,7 +51,7 @@ sub handle_no_results { my $errstr = $data->{errstr}; if ($efa) { - if ( $errstr =~ m{ambiguous} and $efa->name_candidates ) { + if ( $errstr =~ m{ambiguous|name list} and $efa->name_candidates ) { $self->render( 'landingpage', stationlist => [ |