浏览代码

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;