diff --git a/plugins/import_export/init.php b/plugins/import_export/init.php index 1f7a31ba..a4a6387e 100755 --- a/plugins/import_export/init.php +++ b/plugins/import_export/init.php @@ -217,7 +217,7 @@ class Import_Export extends Plugin implements IHandler { } if ($data) - $doc = DOMDocument::loadXML($data); + $doc = (new DOMDocument)->loadXML($data); } libxml_disable_entity_loader(true);