소스 검색

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

David Nos 9 년 전
부모
커밋
78a82f9637
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;