From 68ed9f1a644580c00e6e6bf546205eeab13961e0 Mon Sep 17 00:00:00 2001 From: Pascal Corpet Date: Sat, 25 Jun 2005 16:29:33 +0000 Subject: [PATCH] backport bug geoloc Patches applied: * opensource@polytechnique.org--2005/platal--release--0.9.7--patch-11 correction d'un bug sur geoloc.org git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-749 --- include/geoloc.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/include/geoloc.inc.php b/include/geoloc.inc.php index 9892c9f..eaabbd0 100644 --- a/include/geoloc.inc.php +++ b/include/geoloc.inc.php @@ -72,7 +72,6 @@ $page->register_function('geoloc_region', '_geoloc_region_smarty'); function get_address_infos($txt) { $url ="http://www.geoloc.org/adressparser/address.php?txt=".urlencode(utf8_encode($txt)); if (!($f = @fopen($url, 'r'))) return false; - fgets($f); $keys = explode('|',fgets($f)); $vals = explode('|',fgets($f)); $infos = array(); -- 2.1.4