diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index 23aa7f0..ba8cc2d 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -444,7 +444,7 @@ class Curl $this->setURL($url); $this->unsetHeader('Content-Length'); $this->setOpt(CURLOPT_CUSTOMREQUEST, 'PATCH'); - $this->setOpt(CURLOPT_POSTFIELDS, $data); + $this->setOpt(CURLOPT_POSTFIELDS, $this->buildPostData($data)); return $this->exec(); }