summaryrefslogtreecommitdiff
path: root/includes/xmlrpcs.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/xmlrpcs.inc')
-rw-r--r--includes/xmlrpcs.inc2
1 files changed, 1 insertions, 1 deletions
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);