Browse Source

deprecated en moins : recuperer_page => recuperer_url

pull/19/head
b_b 2 years ago
parent
commit
2c5d041cd6
  1. 4
      inc/gis_geocode.php

4
inc/gis_geocode.php

@ -45,8 +45,8 @@ function gis_geocode_request($mode, $arguments = array()) {
$url = defined('_GIS_GEOCODER_URL') ? _GIS_GEOCODER_URL : $url;
include_spip('inc/distant');
$data = recuperer_page("{$url}{$mode}?" . http_build_query($arguments));
return $data;
$data = recuperer_url("{$url}{$mode}?" . http_build_query($arguments));
return $data['page'];
} else {
return false;
}

Loading…
Cancel
Save