1
0
mirror of synced 2024-11-22 13:26:08 +03:00

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:
Ilyas Salikhov 2015-07-30 14:45:05 +03:00
commit 3a3d0c2658

View File

@ -61,7 +61,7 @@ class Client
$path = $this->url . $path; $path = $this->url . $path;
if (self::METHOD_GET === $method && sizeof($parameters)) { if (self::METHOD_GET === $method && sizeof($parameters)) {
$path .= '?' . http_build_query($parameters); $path .= '?' . http_build_query($parameters, '', '&');
} }
$ch = curl_init(); $ch = curl_init();