diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-23 16:25:56 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-23 16:25:56 +0100 |
commit | 3697d6efaa4c11908b2c051b1986a98643c199ac (patch) | |
tree | fe0854b61222ddb7a8e99de24d87d6595990ab57 /perllib/FixMyStreet/App/Controller/Alert.pm | |
parent | dff26fc0b44ab40f4aaf313460cdd134315eda40 (diff) |
make sure contents of pc get filtered before display
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Alert.pm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm index 701485676..96498e1ab 100644 --- a/perllib/FixMyStreet/App/Controller/Alert.pm +++ b/perllib/FixMyStreet/App/Controller/Alert.pm @@ -318,11 +318,8 @@ This will canonicalise and prettify the postcode and stick a pretty_pc and prett sub prettify_pc : Private { my ( $self, $c ) = @_; -# FIXME previously this had been run through ent so need to do similar here or in template my $pretty_pc = $c->req->params->{'pc'}; - # my $pretty_pc = $input_h{pc}; - # my $pretty_pc_text;# This one isnt't getting the nbsp. if ( mySociety::PostcodeUtil::is_valid_postcode( $c->req->params->{'pc'} ) ) { $pretty_pc = mySociety::PostcodeUtil::canonicalise_postcode( |