- Patch #73582 by chx: fixed glitch with return value checking in XML-RPC client.

5.x
Dries Buytaert 2006-07-13 18:24:23 +00:00
parent ca2d228505
commit 860f49bacb
1 changed files with 1 additions and 1 deletions

View File

@ -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;