File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5427,7 +5427,8 @@ public function invoke_method()
54275427 $ call_arg = (string )$ this ->methodname ; // straight assignment changes $this->methodname to lower case after call_user_func_array()
54285428 } elseif ($ delim == '.. ' ) {
54295429 $ this ->debug ('in invoke_method, calling class method using call_user_func_array() ' );
5430- $ call_arg = array ($ class , $ method );
5430+ $ instance = new $ class (); // Fix https://community.suitecrm.com/t/soap-api-problems-after-upgrading-7-14-php-8-2/90179
5431+ $ call_arg = array (&$ instance , $ method );
54315432 } else {
54325433 $ this ->debug ('in invoke_method, calling instance method using call_user_func_array() ' );
54335434 $ instance = new $ class ();
@@ -10199,4 +10200,4 @@ class soapclient extends nusoap_client
1019910200class nusoapclient extends nusoap_client
1020010201{
1020110202}
10202- ?>
10203+ ?>
You can’t perform that action at this time.
0 commit comments