diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-01-18 23:44:15 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-01-18 23:44:15 +0000 |
commit | 41e3134805b6ab9f0db849607d44d4e145e554c1 (patch) | |
tree | dbaf61ad3fdd2084d184ce5984789abbf29b5d85 /web/index.cgi | |
parent | a1f9b9d2422f4b14f79ed40fbd70f18510dfedf2 (diff) | |
parent | 66a14c3f2d63db568e4b4cf82f4abfdfcbb9edfd (diff) |
Merge branch 'master' into cities_release_1
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-x | web/index.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi index 1864eba6f..83b3b421c 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -931,8 +931,8 @@ sub display_problem { my $google_link = Cobrand::base_url_for_emails($cobrand, $extra_data) . '/report/' . $problem->{id}; my ($lat, $lon) = mySociety::GeoUtil::national_grid_to_wgs84($problem->{easting}, $problem->{northing}, 'G'); - my $map_links = "<p id='sub_map_links'><a href='http://maps.google.co.uk/maps?output=embed&z=16&q=" - . URI::Escape::uri_escape_utf8($problem->{title} . ' - ' . $google_link) . "\@$lat,$lon'>View on Google Maps</a></p>"; + my $map_links = "<p id='sub_map_links'><a href=\"http://maps.google.co.uk/maps?output=embed&z=16&q=" + . URI::Escape::uri_escape_utf8($problem->{title} . ' - ' . $google_link) . "\@$lat,$lon\">View on Google Maps</a></p>"; my $banner; if ($q->{site} ne 'emptyhomes' && $problem->{state} eq 'confirmed' && $problem->{duration} > 8*7*24*60*60) { |