summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrb-cohen <me@arronwoods.com>2015-02-11 10:54:30 +0000
committerrb-cohen <me@arronwoods.com>2015-02-11 10:54:30 +0000
commitbe41ed72ba42216927e97095e3bafcf9ae0a34c8 (patch)
treecaa683fcc5c94cf8011999ca716f11adf02c6a19
parentad0e2ffc901c27477bba23bf762215b7e2350d21 (diff)
parent240cc49c0ffa77803e9307e9833119349d59d49e (diff)
downloadphp-ssrs-be41ed72ba42216927e97095e3bafcf9ae0a34c8.zip
php-ssrs-be41ed72ba42216927e97095e3bafcf9ae0a34c8.tar.gz
php-ssrs-be41ed72ba42216927e97095e3bafcf9ae0a34c8.tar.bz2
Merge pull request #4 from deanstalker/patch-1
Update NTLM.php
-rwxr-xr-xlibrary/SSRS/Soap/NTLM.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/SSRS/Soap/NTLM.php b/library/SSRS/Soap/NTLM.php
index 3820de8..cc5b0fd 100755
--- a/library/SSRS/Soap/NTLM.php
+++ b/library/SSRS/Soap/NTLM.php
@@ -132,7 +132,7 @@ class NTLM extends \SoapClient {
curl_setopt($handle, CURLOPT_HTTPAUTH, CURLAUTH_NTLM);
$headers = array(
- 'Method: ' . ($data === null) ? 'GET' : 'POST',
+ 'Method: ' . (($data === null) ? 'GET' : 'POST'),
'Connection: Keep-Alive',
'User-Agent: PHP-SOAP-CURL',
);
@@ -174,4 +174,4 @@ class NTLM extends \SoapClient {
return $this->_lastResponse;
}
-} \ No newline at end of file
+}