Skip to content

Commit cc82155

Browse files
committed
fixed bug involving custom curl options not being properly overwritten
1 parent b65ddd8 commit cc82155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function request($method, $uri, $params = array(), $headers = array(), $c
6161
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
6262

6363
// last chance to override
64-
curl_setopt_array($ch, is_array($curl_options) ? ($this->options + $curl_options) : $this->options);
64+
curl_setopt_array($ch, is_array($curl_options) ? ($curl_options + $this->options) : $this->options);
6565

6666
$result = curl_exec($ch);
6767
$info = curl_getinfo($ch);

0 commit comments

Comments
 (0)