diff --git a/libraries/nusoap/class.soapclient.php b/libraries/nusoap/class.soapclient.php index 9c0fd3fa24b6cd290e62c0627cdf05111e8192b0..87fc6c6dded0494514a40efb871a652a994e50c1 100644 --- a/libraries/nusoap/class.soapclient.php +++ b/libraries/nusoap/class.soapclient.php @@ -111,7 +111,7 @@ class soapclient2 extends nusoap_base { // instantiate wsdl object and parse wsdl file $this->debug('instantiating wsdl class with doc: '.$endpoint); - $this->wsdl =& new wsdl($this->wsdlFile,$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout); + $this->wsdl = new wsdl($this->wsdlFile,$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout); } $this->appendDebug($this->wsdl->getDebug()); $this->wsdl->clearDebug(); @@ -362,7 +362,7 @@ class soapclient2 extends nusoap_base { case ereg('^http',$this->endpoint): $this->debug('transporting via HTTP'); if($this->persistentConnection == true && is_object($this->persistentConnection)){ - $http =& $this->persistentConnection; + $http = $this->persistentConnection; } else { $http = new soap_transport_http($this->endpoint); if ($this->persistentConnection) { diff --git a/libraries/nusoap/nusoapmime.php b/libraries/nusoap/nusoapmime.php index 85b2363eb63d3079433aa5da3f8de624ad209eb6..e27200eb90607aa8fa5c7f978a5b5c1be1246990 100644 --- a/libraries/nusoap/nusoapmime.php +++ b/libraries/nusoap/nusoapmime.php @@ -127,7 +127,7 @@ class soapclient2mime extends soapclient2 { function getHTTPBody($soapmsg) { if (count($this->requestAttachments) > 0) { $params['content_type'] = 'multipart/related; type=text/xml'; - $mimeMessage =& new Mail_mimePart('', $params); + $mimeMessage = new Mail_mimePart('', $params); unset($params); $params['content_type'] = 'text/xml'; @@ -347,7 +347,7 @@ class nusoapservermime extends soap_server { function getHTTPBody($soapmsg) { if (count($this->responseAttachments) > 0) { $params['content_type'] = 'multipart/related; type=text/xml'; - $mimeMessage =& new Mail_mimePart('', $params); + $mimeMessage = new Mail_mimePart('', $params); unset($params); $params['content_type'] = 'text/xml';