From 78a82f9637470308f194cd699aab3b9c02d61aa9 Mon Sep 17 00:00:00 2001 From: David Nos Date: Mon, 8 Feb 2016 15:50:08 +0100 Subject: [PATCH] Added initialization of $op_Params to avoid warning on xml returned in webservice to disable a user. --- main/inc/lib/nusoap/class.soap_server.php | 1 + 1 file changed, 1 insertion(+) diff --git a/main/inc/lib/nusoap/class.soap_server.php b/main/inc/lib/nusoap/class.soap_server.php index 0d026240ee..cc431f80c8 100755 --- a/main/inc/lib/nusoap/class.soap_server.php +++ b/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;