aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2009-07-22 19:44:19 +0000
committermatthew <matthew>2009-07-22 19:44:19 +0000
commitcfc64592535b2f904dd00f83f3bdcd2f3d841a75 (patch)
tree9c590a0d5a60cb8c60c9ec39d37288799f4b9201
parentd8d072579bfb43b98419b5480ebf8dea844260f3 (diff)
Rhondda Cynon Taf update.
-rwxr-xr-xweb/reports.cgi8
1 files changed, 7 insertions, 1 deletions
diff --git a/web/reports.cgi b/web/reports.cgi
index c215171ab..465ae0f26 100755
--- a/web/reports.cgi
+++ b/web/reports.cgi
@@ -7,7 +7,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: reports.cgi,v 1.31 2009-05-27 15:54:00 matthew Exp $
+# $Id: reports.cgi,v 1.32 2009-07-22 19:44:19 matthew Exp $
use strict;
use Standard;
@@ -28,6 +28,12 @@ sub main {
$q_council = 2260 if $q->{site} eq 'scambs';
+ # Manual misspelling redirect
+ if ($q_council =~ /^rhondda cynon taff$/i) {
+ print $q->redirect('/reports/Rhondda+Cynon+Taf');
+ return;
+ }
+
my ($one_council, $area_type, $area_name);
if ($q_council =~ /\D/) {
(my $qc = $q_council) =~ s/ and / & /;