add clear
This commit is contained in:
@@ -681,9 +681,6 @@ class HttpClient
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
}
|
||||
|
||||
if (!empty($this->_data)) {
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_data);
|
||||
}
|
||||
if ($this->method != self::GET) {
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user