From e9836a8ea7567ec773db4210792e9346382f4020 Mon Sep 17 00:00:00 2001 From: Waddah Elsir Date: Fri, 10 May 2024 21:07:39 +0200 Subject: [PATCH] Update nusoap.php there was a deprecated error about mandatory and optional params, changed the order to make it go away --- webservice/soap/lib/nusoap.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webservice/soap/lib/nusoap.php b/webservice/soap/lib/nusoap.php index 6ba12b9b37ca..92dd5330b7e0 100644 --- a/webservice/soap/lib/nusoap.php +++ b/webservice/soap/lib/nusoap.php @@ -2597,7 +2597,7 @@ public function connect($connection_timeout=0, $response_timeout=30) * @return string data * @access public */ - public function send($data, $timeout=0, $response_timeout=30, $cookies=null) + public function send($data, $cookies=null, $timeout=0, $response_timeout=30) { $this->debug('entered send() with data of length: ' . strlen($data)); @@ -2638,11 +2638,10 @@ public function send($data, $timeout=0, $response_timeout=30, $cookies=null) * @access public * @deprecated */ - public function sendHTTPS($data, $timeout=0, $response_timeout=30, $cookies=null) + public function sendHTTPS($data, $cookies=null, $timeout=0, $response_timeout=30) { - return $this->send($data, $timeout, $response_timeout, $cookies); + return $this->send($data, $cookies, $timeout, $response_timeout); } - /** * if authenticating, set user credentials here *