Add data processing using the Curl::buildPostData() in the Curl::patch()

This commit is contained in:
Valeriy Tropin
2015-06-19 10:38:28 +03:00
committed by Valeriy Tropin
parent 40988fa501
commit f71b60e873
+1 -1
View File
@@ -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();
}