diff options
author | Jonas Oberg <jonas@morus.se> | 2012-12-04 13:53:53 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2014-03-11 16:36:22 +0000 |
commit | 7f89289b6fef0d8406099b2ddc4ed5008165df25 (patch) | |
tree | 0172e7b0edaa6a1a44a89acffffb65fbb903c0de /perllib/FixMyStreet/Cobrand/FixaMinGata.pm | |
parent | 1f30d3061722399557f492c2fe0856fb7e08269b (diff) |
Updated address search to behave better.. I think.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/FixaMinGata.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/FixaMinGata.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixaMinGata.pm b/perllib/FixMyStreet/Cobrand/FixaMinGata.pm index b631e1228..f1059086f 100644 --- a/perllib/FixMyStreet/Cobrand/FixaMinGata.pm +++ b/perllib/FixMyStreet/Cobrand/FixaMinGata.pm @@ -69,6 +69,7 @@ sub geocode_postcode { # Most people write Swedish postcodes like this: #+ XXX XX, so let's remove the space # Is this the right place to do this? //Rikard + # This is the right place! // Jonas $s =~ s/\ //g; # Rikard, remove space in postcode if ($s =~ /^\d{5}$/) { my $location = mySociety::MaPit::call('postcode', $s); |