From 1681b02ee98c2deb740d394280a2a685170bc72e Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 20 Dec 2015 21:49:11 +0100 Subject: bug #385 __construct for PHP 7 compatibility --- include/ws_protocols/rest_encoder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ws_protocols') diff --git a/include/ws_protocols/rest_encoder.php b/include/ws_protocols/rest_encoder.php index 2c8dbd698..d538a0ae8 100644 --- a/include/ws_protocols/rest_encoder.php +++ b/include/ws_protocols/rest_encoder.php @@ -33,7 +33,7 @@ class PwgXmlWriter var $_encodedXml; - function PwgXmlWriter() + function __construct() { $this->_elementStack = array(); $this->_lastTagOpen = false; -- cgit v1.2.3