Adds parameters to http_build_query

Fixes the issue of sending &amp to servers. More information is at http://php.net/manual/en/function.http-build-query.php#102324
This commit is contained in:
Drew Brigham
2015-03-26 07:54:22 -04:00
parent 987c23fcce
commit 4e0fefac12
+1 -1
View File
@@ -109,7 +109,7 @@ class Curl
$data = $json_str;
}
} else {
$data = http_build_query($data);
$data = http_build_query($data, '', '&');
}
}
}