Fix parameters for second curl_setopt_array call

I was getting a PHP warning message every time I tried to use `setCurlOption`.  I think the second `curl_setopt_array` call was the culprit.  I just added the $ch parameter.