Commit af2026a1 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#208195 by marcingy, jvandyk, bombatower: fix notice in error handling

parent af34a232
......@@ -67,7 +67,7 @@ function xmlrpc_server($callbacks) {
$result = xmlrpc_server_call($xmlrpc_server, $xmlrpc_server->message->methodname, $xmlrpc_server->message->params);
if ($result->is_error) {
if (is_object($result) && !empty($result->is_error)) {
// Encode the result
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment