Review updates
update renamed and moved functions
This commit is contained in:
@@ -51,7 +51,7 @@ function geocoordinates_resolve_item(&$item)
|
||||
return;
|
||||
}
|
||||
|
||||
$s = Network::fetchURL("https://api.opencagedata.com/geocode/v1/json?q=".$coords[0].",".$coords[1]."&key=".$key."&language=".$language);
|
||||
$s = Network::fetchUrl("https://api.opencagedata.com/geocode/v1/json?q=".$coords[0].",".$coords[1]."&key=".$key."&language=".$language);
|
||||
|
||||
if (!$s) {
|
||||
logger("API could not be queried", LOGGER_DEBUG);
|
||||
|
||||
Reference in New Issue
Block a user