Browse Source

Bugfix: added arg_separator for http_build_query method

Jan Oris 8 years ago
parent
commit
5e92dad987
2 changed files with 2 additions and 2 deletions
  1. 1 1
      composer.json
  2. 1 1
      src/Ixudra/Curl/Builder.php

+ 1 - 1
composer.json

@@ -1,7 +1,7 @@
 {
     "name": "ixudra/curl",
     "description": "Custom PHP Curl library for the Laravel 5 framework - developed by Ixudra",
-    "version": "6.6.0",
+    "version": "6.6.1",
     "keywords": ["Ixudra", "Laravel", "Curl"],
     "homepage": "http://ixudra.be",
     "license": "MIT",

+ 1 - 1
src/Ixudra/Curl/Builder.php

@@ -432,7 +432,7 @@ class Builder {
     {
         $parameterString = '';
         if( is_array($this->packageOptions[ 'data' ]) && count($this->packageOptions[ 'data' ]) != 0 ) {
-            $parameterString = '?'. http_build_query($this->packageOptions[ 'data' ]);
+            $parameterString = '?'. http_build_query( $this->packageOptions[ 'data' ], null, '&' );
         }
 
         return $this->curlOptions[ 'URL' ] .= $parameterString;