diff --git a/plugins/import_export/init.php b/plugins/import_export/init.php index 1f7a31bad..a4a6387ef 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);