compatibility with PHP 7
authorKonrad Rosenbaum <konrad@silmor.de>
Sat, 19 Nov 2016 15:20:14 +0000 (16:20 +0100)
committerKonrad Rosenbaum <konrad@silmor.de>
Sat, 19 Nov 2016 15:25:03 +0000 (16:25 +0100)
Change-Id: I7da86e58efe71d437ccb420abb44d42cd4455040

phpbase/transaction.php

index e28fe6f..a43bad6 100644 (file)
@@ -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){