aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Geocode.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-12 00:25:15 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-12 00:25:15 +0000
commitd129a938cb1ccbbb04a6c65b3ec8127ce18359c7 (patch)
tree30204d392a4b06c969f5f9c0afdd65bccaad57e3 /perllib/FixMyStreet/Geocode.pm
parent29f16126265e2757a0b67900c6dd9fcd334286fb (diff)
Footer for Norway.
Diffstat (limited to 'perllib/FixMyStreet/Geocode.pm')
-rw-r--r--perllib/FixMyStreet/Geocode.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Geocode.pm b/perllib/FixMyStreet/Geocode.pm
index 2c583311b..ae85aba15 100644
--- a/perllib/FixMyStreet/Geocode.pm
+++ b/perllib/FixMyStreet/Geocode.pm
@@ -68,6 +68,7 @@ sub geocoded_string_coordinates {
try {
my ($easting, $northing) = Utils::convert_latlon_to_en( $latitude, $longitude );
} catch Error::Simple with {
+ mySociety::Locale::pop(); # We threw exception, so it won't have happened.
$error = shift;
$error = _('That location does not appear to be in Britain; please try again.')
if $error =~ /out of the area covered/;