diff options
author | matthew <matthew> | 2007-02-07 09:56:15 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-02-07 09:56:15 +0000 |
commit | 0fee5e404947d177d117407be3c566bc4e5e3916 (patch) | |
tree | 4c00136fae1d0bd405e77986ba69b869663fab4f /web/index.cgi | |
parent | eb5dff411aa38b3980933eb322e2b00a38b7c593 (diff) |
Explain what's going on for multiple council emails.
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-x | web/index.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/index.cgi b/web/index.cgi index 5fa895b90..7db407d2c 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: index.cgi,v 1.70 2007-02-06 19:21:44 matthew Exp $ +# $Id: index.cgi,v 1.71 2007-02-07 09:56:15 matthew Exp $ # TODO # Nothing is done about the update checkboxes - not stored anywhere on anything! @@ -752,6 +752,7 @@ sub geocode_string { if (-s $cache_file) { $js = File::Slurp::read_file($cache_file); } else { + $url .= ',+United+Kingdom' unless $url =~ /United\+Kingdom$/; $js = LWP::Simple::get($url); File::Slurp::write_file($cache_file, $js); } |