diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-10-04 18:17:13 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-10-10 23:16:14 +0100 |
commit | 5934b383754a2d298100a674a1ccefc2cb9e50af (patch) | |
tree | 81f0e217836eddea478bea268371ec02b5887942 /perllib/FixMyStreet/App/Controller/Location.pm | |
parent | 6f0ee01f37029c0fdabd161646b8dbbdec676165 (diff) |
Simplify geocode cache read/writing.
Don't think the return data ever needs decoding.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Location.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Location.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Location.pm b/perllib/FixMyStreet/App/Controller/Location.pm index c457c8fce..cb2077ede 100644 --- a/perllib/FixMyStreet/App/Controller/Location.pm +++ b/perllib/FixMyStreet/App/Controller/Location.pm @@ -96,7 +96,6 @@ sub determine_location_from_pc : Private { if ( ref($error) eq 'ARRAY' ) { foreach (@$error) { my $a = $_->{address}; - $a = decode_utf8($a) if !utf8::is_utf8($a); $a =~ s/, United Kingdom//; $a =~ s/, UK//; $_->{address} = $a; |