projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bd6a15
)
JsonToExcel.php
author
Alan Knowles
<alan@roojs.com>
Mon, 21 Jan 2013 04:10:34 +0000
(12:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 21 Jan 2013 04:10:34 +0000
(12:10 +0800)
JsonToExcel.php
patch
|
blob
|
history
diff --git
a/JsonToExcel.php
b/JsonToExcel.php
index
9a76fe3
..
3a6a523
100644
(file)
--- 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'];