From d671590339bf5c99fb199292e633a68860f8851c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 21 Jan 2013 12:10:14 +0800 Subject: [PATCH] JsonToExcel.php --- JsonToExcel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JsonToExcel.php b/JsonToExcel.php index b087d35f..8539973e 100644 --- a/JsonToExcel.php +++ b/JsonToExcel.php @@ -34,8 +34,8 @@ class Pman_Core_JsonToExcel extends Pman } function post($fname) { - $ml = (int) ini_get('suhosin.post.max_value_length'); - if (empty($_POST['xml'])) { + $ml = (int) ini_get('suhosin.post.max_value_length'); + if (empty($_POST['_json'])) { header("HTTP/1.0 400 Internal Server Error"); die( $ml ? "Suhosin Patch enabled - try and disable it!!!" : 'no XML sent'); } -- 2.39.2