From f716cb069852c2316323aad69b23a27ca85cafaf Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 21 Jan 2013 12:10:34 +0800 Subject: [PATCH] JsonToExcel.php --- JsonToExcel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JsonToExcel.php b/JsonToExcel.php index 9a76fe36..3a6a523e 100644 --- a/JsonToExcel.php +++ b/JsonToExcel.php @@ -40,9 +40,9 @@ class Pman_Core_JsonToExcel extends Pman die( $ml ? "Suhosin Patch enabled - try and disable it!!!" : 'no JSON sent'); } - if (empty($_POST['xml'])) { + if (empty($_POST['_json'])) { header("HTTP/1.0 400 Internal Server Error"); - die("Missing XML attribute"); + die("Missing json attribute"); } $xml = $_POST['xml']; -- 2.39.2