diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-21 12:06:34 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-21 12:06:34 +0100 |
commit | 2c5ddf10d9179d641bd70dc4602f33ee59fc8799 (patch) | |
tree | 9071b301c3e00e8639644045504df1e02d8b8132 /perllib/FixMyStreet/App/Controller/Reports.pm | |
parent | 0f232284cd42dcea741ce1131151cefaf2e9e150 (diff) | |
parent | 62ba3756efd59ec2d39b07b5b0ccd109da355d08 (diff) |
Merge branch 'master' into new_statuses
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Reports.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 3f7bd268f..58b689bf9 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -168,6 +168,7 @@ sub council_check : Private { my ( $self, $c, $q_council ) = @_; $q_council =~ s/\+/ /g; + $q_council =~ s/\.html//; # Manual misspelling redirect if ($q_council =~ /^rhondda cynon taff$/i) { @@ -224,6 +225,8 @@ sub ward_check : Private { my ( $self, $c, $ward ) = @_; $ward =~ s/\+/ /g; + $ward =~ s/\.html//; + my $council = $c->stash->{council}; my $qw = mySociety::MaPit::call('areas', $ward, |