summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSebastian <github@afreshmelon.com>2015-04-01 23:27:44 +0200
committerSebastian <github@afreshmelon.com>2015-04-01 23:27:44 +0200
commita718223585cd54bf9a7e2fad9749dc5301a9002d (patch)
tree7949d73b3ca854d62e3909cc6a5b2a6eccd5c74d /docs
parent5fc72660e4237bd05222baec8956f0f19ded651f (diff)
Remove workaround that is no longer needed
This workaround was required previously but breaks the code with the corrections to the XML-RPC response.
Diffstat (limited to 'docs')
-rw-r--r--docs/XMLRPC/xmlrpc.php4
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;
}