diff options
Diffstat (limited to 'docs/XMLRPC/xmlrpc.php')
-rw-r--r-- | docs/XMLRPC/xmlrpc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/XMLRPC/xmlrpc.php b/docs/XMLRPC/xmlrpc.php index c469ab05a..ef5e9a00c 100644 --- a/docs/XMLRPC/xmlrpc.php +++ b/docs/XMLRPC/xmlrpc.php @@ -33,8 +33,8 @@ class AnopeXMLRPC $inbuf = file_get_contents($this->Host, false, $context); $response = xmlrpc_decode($inbuf); - if (isset($response[0])) - return $response[0]; + if (isset($response)) + return $response; return NULL; } |