diff options
author | Struan Donald <struan@exo.org.uk> | 2012-04-03 14:39:45 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-04-03 14:39:45 +0100 |
commit | 1923dc99b708511570fe5bf207ff63362c55ca9b (patch) | |
tree | 3d63276f897bc0183d98aa98f315dec25fe317af /perllib/FixMyStreet/Geocode/Bing.pm | |
parent | d3e033d5426144dcc7bf0da3170fbf2361d22ba6 (diff) | |
parent | a16e71730cf86cd48773ffbd8390c65e1dc2fc6a (diff) |
Merge branch 'send-report-rewrite' into bromley-new-send-reports
Conflicts:
bin/send-reports
perllib/FixMyStreet/Geocode/Bing.pm
web/js/map-OpenLayers.js
Diffstat (limited to 'perllib/FixMyStreet/Geocode/Bing.pm')
-rw-r--r-- | perllib/FixMyStreet/Geocode/Bing.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Geocode/Bing.pm b/perllib/FixMyStreet/Geocode/Bing.pm index 99197a5f9..4ba00dbfe 100644 --- a/perllib/FixMyStreet/Geocode/Bing.pm +++ b/perllib/FixMyStreet/Geocode/Bing.pm @@ -62,7 +62,7 @@ sub string { # Getting duplicate, yet different, results from Bing sometimes next if @valid_locations - && $valid_locations[-1]{address}{postalCode} eq $_->{address}{postalCode} + && $_->{address}{postalCode} && $valid_locations[-1]{address}{postalCode} eq $_->{address}{postalCode} && ( $valid_locations[-1]{address}{locality} eq $_->{address}{adminDistrict2} || $valid_locations[-1]{address}{adminDistrict2} eq $_->{address}{locality} || $valid_locations[-1]{address}{locality} eq $_->{address}{locality} |