Merge pull request #9 from linniksa/patch-provide-full-args-to-http-build-query
Provide values for all arguments in http_build_query
This commit is contained in:
commit
3a3d0c2658
@ -61,7 +61,7 @@ class Client
|
||||
$path = $this->url . $path;
|
||||
|
||||
if (self::METHOD_GET === $method && sizeof($parameters)) {
|
||||
$path .= '?' . http_build_query($parameters);
|
||||
$path .= '?' . http_build_query($parameters, '', '&');
|
||||
}
|
||||
|
||||
$ch = curl_init();
|
||||
|
Loading…
Reference in New Issue
Block a user