Skip to content
Snippets Groups Projects
Commit 920333ba authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#677750 by jurgenhaas: fix possibility for notice in xmlrpcs.inc

parent 36639338
No related merge requests found
...@@ -230,7 +230,7 @@ function xmlrpc_server_multicall($methodcalls) { ...@@ -230,7 +230,7 @@ function xmlrpc_server_multicall($methodcalls) {
elseif ($ok) { elseif ($ok) {
$result = xmlrpc_server_call($xmlrpc_server, $method, $params); $result = xmlrpc_server_call($xmlrpc_server, $method, $params);
} }
if ($result->is_error) { if (is_object($result) && !empty($result->is_error)) {
$return[] = array( $return[] = array(
'faultCode' => $result->code, 'faultCode' => $result->code,
'faultString' => $result->message 'faultString' => $result->message
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment