diff options
author | plegall <plg@piwigo.org> | 2015-12-20 21:49:11 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2015-12-20 21:49:11 +0100 |
commit | 1681b02ee98c2deb740d394280a2a685170bc72e (patch) | |
tree | e65fa954ae6ccd838b241e58f54e79719bb75c87 /include/ws_protocols | |
parent | 5bfb51c0ecb341a9851c35d91bbbf2ee5bd92459 (diff) |
bug #385 __construct for PHP 7 compatibility
Diffstat (limited to '')
-rw-r--r-- | include/ws_protocols/rest_encoder.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |