summaryrefslogtreecommitdiff
path: root/lib/plugins/acl/ajax.php
diff options
context:
space:
mode:
authorDominik Eckelmann <deckelmann@gmail.com>2012-03-14 12:52:36 +0100
committerDominik Eckelmann <deckelmann@gmail.com>2012-03-14 12:52:36 +0100
commit3a6d76070be7220b8e5f7c04443aa923bc8cddf2 (patch)
treedfd00b5d0c5f58ee313eb376a8cb1ee99512bf83 /lib/plugins/acl/ajax.php
parent03d7247e047c21d2733f837148a1499f56784ae3 (diff)
parentd0caa5642f6e322a026bd5bdac4585ff1b2f40da (diff)
downloadrpg-3a6d76070be7220b8e5f7c04443aa923bc8cddf2.tar.gz
rpg-3a6d76070be7220b8e5f7c04443aa923bc8cddf2.tar.bz2
Merge branch 'master' of https://github.com/splitbrain/dokuwiki
Conflicts: lib/exe/xmlrpc.php
Diffstat (limited to 'lib/plugins/acl/ajax.php')
-rw-r--r--lib/plugins/acl/ajax.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/acl/ajax.php b/lib/plugins/acl/ajax.php
index d704fa8c9..71a2eb03a 100644
--- a/lib/plugins/acl/ajax.php
+++ b/lib/plugins/acl/ajax.php
@@ -7,7 +7,7 @@
*/
//fix for Opera XMLHttpRequests
-if(!count($_POST) && $HTTP_RAW_POST_DATA){
+if(!count($_POST) && !empty($HTTP_RAW_POST_DATA)){
parse_str($HTTP_RAW_POST_DATA, $_POST);
}