diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-07-13 18:24:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-07-13 18:24:23 +0000 |
commit | 860f49bacbd70f39b3c44976edd6b9241dbc545a (patch) | |
tree | f7b1e4b271cced2658288601e2f259018e5fe4d5 /includes/xmlrpc.inc | |
parent | ca2d228505acbf9d7d08dc80b0cb41ab146a3c05 (diff) | |
download | brdo-860f49bacbd70f39b3c44976edd6b9241dbc545a.tar.gz brdo-860f49bacbd70f39b3c44976edd6b9241dbc545a.tar.bz2 |
- Patch #73582 by chx: fixed glitch with return value checking in XML-RPC client.
Diffstat (limited to 'includes/xmlrpc.inc')
-rw-r--r-- | includes/xmlrpc.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/xmlrpc.inc b/includes/xmlrpc.inc index 2c37f36b5..30e7c9aec 100644 --- a/includes/xmlrpc.inc +++ b/includes/xmlrpc.inc @@ -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; |