Explorar el Código

Added initialization of $op_Params to avoid warning on xml returned in webservice to disable a user.

David Nos hace 9 años
padre
commit
78a82f9637
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      main/inc/lib/nusoap/class.soap_server.php

+ 1 - 0
main/inc/lib/nusoap/class.soap_server.php

@@ -661,6 +661,7 @@ class nusoap_server extends nusoap_base {
 			$this->debug('got a(n) '.gettype($this->methodreturn).' from method');
 			$this->debug('serializing return value');
 			if($this->wsdl){
+				$opParams = "";
 				if (sizeof($this->opData['output']['parts']) > 1) {
 					$this->debug('more than one output part, so use the method return unchanged');
 			    	$opParams = $this->methodreturn;