projects
/
web/konrad/pack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
29afc5c
)
compatibility with PHP 7
author
Konrad Rosenbaum
<konrad@silmor.de>
Sat, 19 Nov 2016 15:20:14 +0000 (16:20 +0100)
committer
Konrad Rosenbaum
<konrad@silmor.de>
Sat, 19 Nov 2016 15:25:03 +0000 (16:25 +0100)
Change-Id: I7da86e58efe71d437ccb420abb44d42cd4455040
phpbase/transaction.php
patch
|
blob
|
history
diff --git
a/phpbase/transaction.php
b/phpbase/transaction.php
index
e28fe6f
..
a43bad6
100644
(file)
--- a/
phpbase/transaction.php
+++ b/
phpbase/transaction.php
@@
-158,6
+158,7
@@
class WobTransactionBase {
/*low level XML parsing*/
global $HTTP_RAW_POST_DATA;
if(isset($HTTP_RAW_POST_DATA))$txt=$HTTP_RAW_POST_DATA;else $txt="";
+ if($txt=="")$txt=file_get_contents("php://input");
$xml=new DOMDocument;
if(!$xml->loadXML($txt))$this->xmlParserError();
if($this->messageEncoding()==self::WobEncoding){