From: Pascal Corpet Date: Sat, 25 Jun 2005 16:29:33 +0000 (+0000) Subject: backport bug geoloc X-Git-Tag: xorg/old~15 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=68ed9f1a644580c00e6e6bf546205eeab13961e0;p=platal.git 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 --- 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();