diff options
author | matthew <matthew> | 2007-04-10 13:53:54 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-04-10 13:53:54 +0000 |
commit | d6f7f35d38fe68e382d543aa5004ffe638026169 (patch) | |
tree | 16005c879dc07ccec3afa69a400971ea939ace29 | |
parent | 060cf605412b17204a724652ecd7e7949d36e8f5 (diff) |
Typo.
-rwxr-xr-x | web/index.cgi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/web/index.cgi b/web/index.cgi index 4f2edc2ef..fa433ce6e 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.106 2007-04-10 13:50:51 matthew Exp $ +# $Id: index.cgi,v 1.107 2007-04-10 13:53:54 matthew Exp $ # TODO # Nothing is done about the update checkboxes - not stored anywhere on anything! @@ -860,8 +860,7 @@ sub geocode_string { } elsif ($js =~ /suggest noprint/ && $js =~ /We could not understand/) { $error = $1; } elsif ($js =~ /suggest noprint/) { - my $refine = $1; - while ($refine =~ /<div class=\\042ref\\042><a href=\\042\/maps\?q=(.*?)&.*?>(.*?)<\/a><\/div>/g) { + while ($js =~ /<div class=\\042ref\\042><a href=\\042\/maps\?q=(.*?)&.*?>(.*?)<\/a><\/div>/g) { push (@$error, [ $1, $2 ]); } $error = 'We could not understand that location.' unless $error; |