From c3ce03861e7e94ee5a87b8cb506b120af4d74348 Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sat, 19 Nov 2016 16:20:14 +0100 Subject: [PATCH] compatibility with PHP 7 Change-Id: I7da86e58efe71d437ccb420abb44d42cd4455040 --- phpbase/transaction.php | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/phpbase/transaction.php b/phpbase/transaction.php index e28fe6f..a43bad6 100644 --- 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){ -- 1.7.2.5