aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Page.pm
diff options
context:
space:
mode:
authormatthew <matthew>2009-08-07 21:20:37 +0000
committermatthew <matthew>2009-08-07 21:20:37 +0000
commitbd51303f4504b0a5c7b10903cec008d6512aa6f9 (patch)
tree424c72f09d000fa9db748717606dfa86fadf4904 /perllib/Page.pm
parent368a244a052fa6d72d6245b14de63d4ec73edb3d (diff)
Tweak.
Diffstat (limited to 'perllib/Page.pm')
-rw-r--r--perllib/Page.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm
index 8953810e3..4ceb945d4 100644
--- a/perllib/Page.pm
+++ b/perllib/Page.pm
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: Page.pm,v 1.152 2009-07-23 09:59:53 matthew Exp $
+# $Id: Page.pm,v 1.153 2009-08-07 21:20:37 matthew Exp $
#
package Page;
@@ -790,7 +790,7 @@ sub geocode_string {
# Northern Ireland, hopefully
$error = _("We do not cover Northern Ireland, I'm afraid, as our licence doesn't include any maps for the region.");
} else {
- my ($accuracy) = $js =~ /"Accuracy": *(\d)/;
+ my ($accuracy) = $js =~ /"Accuracy" *: *(\d)/;
if ($accuracy < 4) {
$error = _('Sorry, that location appears to be too general; please be more specific.');
} else {