From: Evan Prodromou Date: Wed, 23 Dec 2009 20:16:22 +0000 (-0800) Subject: make sure Geonames API queries use correct arg separator X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c0f444f564be0c14a6cd23c4241c6f9cd4331518;p=quix0rs-gnu-social.git make sure Geonames API queries use correct arg separator --- diff --git a/plugins/GeonamesPlugin.php b/plugins/GeonamesPlugin.php index 0d12c1cf70..df99c7849b 100644 --- a/plugins/GeonamesPlugin.php +++ b/plugins/GeonamesPlugin.php @@ -448,7 +448,7 @@ class GeonamesPlugin extends Plugin $params['token'] = $this->token; } - $str = http_build_query($params); + $str = http_build_query($params, null, '&'); return 'http://'.$this->host.'/'.$method.'?'.$str; }