Commit 2c51facf authored by Andrew Dolgov's avatar Andrew Dolgov

Revert "import_export: do not use DOMDocument->loadXML in static context"

This reverts commit 1ddf3a28.
parent 1ddf3a28
......@@ -217,7 +217,7 @@ class Import_Export extends Plugin implements IHandler {
}
if ($data)
$doc = (new DOMDocument)->loadXML($data);
$doc = DOMDocument::loadXML($data);
}
libxml_disable_entity_loader(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment