File tree 1 file changed +3
-2
lines changed
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()
5427
5427
$ call_arg = (string )$ this ->methodname ; // straight assignment changes $this->methodname to lower case after call_user_func_array()
5428
5428
} elseif ($ delim == '.. ' ) {
5429
5429
$ 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 );
5431
5432
} else {
5432
5433
$ this ->debug ('in invoke_method, calling instance method using call_user_func_array() ' );
5433
5434
$ instance = new $ class ();
@@ -10199,4 +10200,4 @@ class soapclient extends nusoap_client
10199
10200
class nusoapclient extends nusoap_client
10200
10201
{
10201
10202
}
10202
- ?>
10203
+ ?>
You can’t perform that action at this time.
0 commit comments