diff --git a/bundled-libs/XML/RPC.php b/bundled-libs/XML/RPC.php index 94daa103..617181cc 100644 --- a/bundled-libs/XML/RPC.php +++ b/bundled-libs/XML/RPC.php @@ -1486,7 +1486,7 @@ class XML_RPC_Message extends XML_RPC_Base $data = substr($data, 0, strpos($data, "") + 17); $this->response_payload = $data; - if (!xml_parse($parser_resource, $data, sizeof($data))) { + if (!xml_parse($parser_resource, $data)) { // thanks to Peter Kocks if (xml_get_current_line_number($parser_resource) == 1) { $errstr = 'XML error at line 1, check URL';