diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-10-24 12:02:09 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-10-24 12:02:09 +0200 |
commit | c067fdab9ecde8dfa4c1d897762ca38ecf22eeb9 (patch) | |
tree | c0c002f110c3268835db860e56ec3684b1f12e8f | |
parent | 782213d9c1578e4f47a6dceb71714f06952404fa (diff) |
use stop='city stop' for !efa-backends (cause that's what the backend gets anyways)1.00
-rw-r--r-- | index.pl | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -590,6 +590,14 @@ get '/_redirect' => sub { $suffix = '.html'; } + if ( $city + and $params->param('backend') + and $params->param('backend') !~ m{ ^ ( efa | vrr ) }x ) + { + $stop = "$city $stop"; + $city = undef; + } + my $params_s = $params->to_string; if ($city) { |