diff options
Diffstat (limited to 'web')
-rwxr-xr-x | web/reports.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/reports.cgi b/web/reports.cgi index fe4213be4..999e82bb3 100755 --- a/web/reports.cgi +++ b/web/reports.cgi @@ -22,9 +22,11 @@ sub main { my $all = $q->param('all') || 0; my $rss = $q->param('rss') || ''; my $cobrand = Page::get_cobrand($q); + # Look up council name, if given my $q_council = $q->param('council') || ''; my $base_url = Cobrand::base_url($cobrand); + # Manual misspelling redirect if ($q_council =~ /^rhondda cynon taff$/i) { print $q->redirect($base_url . '/reports/Rhondda+Cynon+Taf'); |