summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Soap
diff options
context:
space:
mode:
Diffstat (limited to 'library/SSRS/Soap')
-rwxr-xr-xlibrary/SSRS/Soap/NTLM.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/SSRS/Soap/NTLM.php b/library/SSRS/Soap/NTLM.php
index 7f75db7..077c71e 100755
--- a/library/SSRS/Soap/NTLM.php
+++ b/library/SSRS/Soap/NTLM.php
@@ -13,7 +13,7 @@ class NTLM extends \SoapClient {
protected $_lastResponse;
function __construct($wsdl, $options = array()) {
- if (!array_key_exists('cache_wsdl_path', $options)) {
+ if (empty($options['cache_wsdl_path'])) {
$options['cache_wsdl_path'] = '/tmp/' . md5($wsdl) . '.wsdl';
}
@@ -114,9 +114,9 @@ class NTLM extends \SoapClient {
}
}
- public function __doRequest($data, $url, $action) {
- $this->_lastRequest = (string) $data;
- $this->_lastResponse = $this->callCurl($url, $data, $action);
+ public function __doRequest($request, $location, $action, $version = 1, $one_way = null) {
+ $this->_lastRequest = (string) $request;
+ $this->_lastResponse = $this->callCurl($location, $request, $action);
return $this->_lastResponse;
}