summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Report.php
diff options
context:
space:
mode:
authorArron Woods <aw@chartblocks.com>2015-05-13 15:57:56 +0100
committerArron Woods <aw@chartblocks.com>2015-05-13 15:57:56 +0100
commit0994427a5b75bba964cd56142e7f5d34a79a2422 (patch)
tree48504844e250a7f0973445e9fb1274f3335d880a /library/SSRS/Report.php
parente7743c4ab7d56847719cd6b558e6532204716668 (diff)
downloadphp-ssrs-0994427a5b75bba964cd56142e7f5d34a79a2422.zip
php-ssrs-0994427a5b75bba964cd56142e7f5d34a79a2422.tar.gz
php-ssrs-0994427a5b75bba964cd56142e7f5d34a79a2422.tar.bz2
Curl options must be an array
Diffstat (limited to 'library/SSRS/Report.php')
-rwxr-xr-xlibrary/SSRS/Report.php4
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);