Commit 1ddf3a28 authored by Andrew Dolgov's avatar Andrew Dolgov

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

parent 365f5c8b
......@@ -217,7 +217,7 @@ class Import_Export extends Plugin implements IHandler {
if ($data)
$doc = DOMDocument::loadXML($data);
$doc = (new DOMDocument)->loadXML($data);
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