JsonToExcel.php
authorAlan Knowles <alan@roojs.com>
Mon, 21 Jan 2013 04:10:14 +0000 (12:10 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 21 Jan 2013 04:10:14 +0000 (12:10 +0800)
JsonToExcel.php

index b087d35..8539973 100644 (file)
@@ -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');
         }