aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-11 20:15:40 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-11 20:15:40 +0100
commitfc86c7db8be1c0649657cde95014fd066a8d2209 (patch)
treeb6b108acbd963604526feb789cc1cf2f0dc5e9cf
parentec5cb46efaba4bb395b09abbaa26c115ea35a0dc (diff)
parent87c051bc46bdc00abf90e8030468061ac82fe9b2 (diff)
Merge branch 'patch-2' of https://github.com/Kagee/fixmystreet
-rw-r--r--perllib/FixMyStreet/Geocode/Google.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Geocode/Google.pm b/perllib/FixMyStreet/Geocode/Google.pm
index b62c89cda..1ab347066 100644
--- a/perllib/FixMyStreet/Geocode/Google.pm
+++ b/perllib/FixMyStreet/Geocode/Google.pm
@@ -75,6 +75,7 @@ sub string {
my $address = $_->{address};
next unless $c->cobrand->geocoded_string_check( $address );
( $longitude, $latitude ) = @{ $_->{Point}->{coordinates} };
+ # These co-ordinates are output as query parameters in a URL, make sure they have a "."
mySociety::Locale::in_gb_locale {
push (@$error, {
address => $address,