summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2011-11-27 11:43:37 +0100
committerAndreas Gohr <andi@splitbrain.org>2011-11-27 11:43:37 +0100
commita09383eaa9211bb592151c29e7b85f027c05aaec (patch)
tree56dd2687c5b5b00688d6baffe662d39157904906
parent37c23632c35f0c77ba6e0f3ba98bfd53efa7ba0d (diff)
downloadrpg-a09383eaa9211bb592151c29e7b85f027c05aaec.tar.gz
rpg-a09383eaa9211bb592151c29e7b85f027c05aaec.tar.bz2
avoid PHP notice in ACL ajax backend FS#2384
-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);
}