diff options
Diffstat (limited to 'library/SSRS/Report.php')
-rwxr-xr-x | library/SSRS/Report.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/SSRS/Report.php b/library/SSRS/Report.php index d888473..2333d3a 100755 --- a/library/SSRS/Report.php +++ b/library/SSRS/Report.php @@ -64,7 +64,7 @@ class Report { public function setOptions(array $options) { $defaults = array( 'cache_wsdl_path' => null, - 'curl_options' => null, + 'curl_options' => array(), ); $this->options = array_merge($defaults, $options); @@ -458,7 +458,7 @@ class Report { 'username' => $this->_username, 'password' => $this->_passwd, 'cache_wsdl_path' => $this->options['cache_wsdl_path'], - 'curl_options' => $this->options['curl_options'], + 'curl_options' => $this->options['curl_options'], ); $client = new SoapNTLM($this->_baseUri . '/' . $path, $options); |