import_export: do not use DOMDocument->loadXML in static context
This commit is contained in:
parent
365f5c8b53
commit
1ddf3a28e5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue