Skip to content

Commit

Permalink
A value of 1 is deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jan 27, 2016
1 parent 7f0406c commit 60b4a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Http/lib/Horde/Http/Request/Curl.php
Expand Up @@ -59,7 +59,7 @@ public function send()
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $this->method);
curl_setopt($curl, CURLOPT_TIMEOUT, $this->timeout);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, $this->verifyPeer);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, $this->verifyPeer);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, $this->verifyPeer ? 2 : 0);

// User-Agent
curl_setopt($curl, CURLOPT_USERAGENT, $this->userAgent);
Expand Down

0 comments on commit 60b4a1d

Please sign in to comment.