fix unrelated XML errors sometimes shown parsing eTemplates

This commit is contained in:
Ralf Becker 2021-11-10 13:55:48 +01:00
parent 3534ed9040
commit 577ff9dd26

View File

@ -168,6 +168,7 @@ class Widget
else else
{ {
libxml_use_internal_errors(true); libxml_use_internal_errors(true);
libxml_clear_errors();
$reader = new XMLReader(); $reader = new XMLReader();
if (!$reader->XML($xml)) if (!$reader->XML($xml))
{ {