make sure Geonames API queries use correct arg separator
This commit is contained in:
parent
15b9f61842
commit
c0f444f564
|
@ -448,7 +448,7 @@ class GeonamesPlugin extends Plugin
|
||||||
$params['token'] = $this->token;
|
$params['token'] = $this->token;
|
||||||
}
|
}
|
||||||
|
|
||||||
$str = http_build_query($params);
|
$str = http_build_query($params, null, '&');
|
||||||
|
|
||||||
return 'http://'.$this->host.'/'.$method.'?'.$str;
|
return 'http://'.$this->host.'/'.$method.'?'.$str;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user