mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:05:56 +00:00
import_export: do not use DOMDocument->loadXML in static context
This commit is contained in:
@@ -217,7 +217,7 @@ class Import_Export extends Plugin implements IHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($data)
|
if ($data)
|
||||||
$doc = DOMDocument::loadXML($data);
|
$doc = (new DOMDocument)->loadXML($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
libxml_disable_entity_loader(true);
|
libxml_disable_entity_loader(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user