aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xweb/alert.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/alert.cgi b/web/alert.cgi
index 6ab3956c0..fba7ef5d7 100755
--- a/web/alert.cgi
+++ b/web/alert.cgi
@@ -101,6 +101,7 @@ sub alert_list {
if (mySociety::PostcodeUtil::is_valid_postcode($input{pc})) {
$pretty_pc = mySociety::PostcodeUtil::canonicalise_postcode($input{pc});
$pretty_pc_text = $pretty_pc;
+ $pretty_pc_text =~ s/ //g;
$pretty_pc =~ s/ / /;
}