From 30f95a331fa2daf3d8c1ee59c0acf3f650657ad8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 14 Aug 2005 22:27:40 +0000 Subject: - Patch #28861 by Malthus: fixed typo in XML-RPC backend. Missing $. - Made chx the XML-RPC maintainer. --- includes/xmlrpcs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/xmlrpcs.inc') diff --git a/includes/xmlrpcs.inc b/includes/xmlrpcs.inc index 91cfdbcc4..5e422a232 100644 --- a/includes/xmlrpcs.inc +++ b/includes/xmlrpcs.inc @@ -45,7 +45,7 @@ function xmlrpc_server($callbacks) { } $data = file_get_contents('php://input'); - if (!data) { + if (!$data) { die('XML-RPC server accepts POST requests only.'); } $xmlrpc_server->message = xmlrpc_message($data); -- cgit v1.2.3