Pman/GnumericToExcel.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 14 Sep 2010 07:48:58 +0000 (15:48 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 14 Sep 2010 07:48:58 +0000 (15:48 +0800)
Pman/GnumericToExcel.php

index e20b5fc..3ee4f47 100644 (file)
@@ -33,9 +33,8 @@ class Pman_GnumericToExcel extends Pman
           $ml = (int) ini_get('suhosin.post.max_value_length');
         if (empty($_POST['xml'])) {
             header("HTTP/1.0 400 Internal Server Error");
-            die(json_encode(array('success' => false, 'errorMsg' => 
-                $ml ? "Suhosin Patch enabled- try and disabled!!!" : 'no XML sent')));
-           }
+            die(  $ml ? "Suhosin Patch enabled - try and disable it!!!" : 'no XML sent')));
+        }
         
         if (empty($_POST['xml'])) {
             header("HTTP/1.0 400 Internal Server Error");