Revert "import_export: do not use DOMDocument->loadXML in static context"
This reverts commit 1ddf3a28e5
.
This commit is contained in:
parent
1ddf3a28e5
commit
2c51facf61
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue