- Patch #73582 by chx: fixed glitch with return value checking in XML-RPC client.
parent
ca2d228505
commit
860f49bacb
|
@ -345,7 +345,7 @@ EOD;
|
|||
|
||||
function xmlrpc_error($code = NULL, $message = NULL) {
|
||||
static $xmlrpc_error;
|
||||
if ($code) {
|
||||
if (isset($code)) {
|
||||
$xmlrpc_error = new stdClass();
|
||||
$xmlrpc_error->is_error = TRUE;
|
||||
$xmlrpc_error->code = $code;
|
||||
|
|
Loading…
Reference in New Issue