try fixing an other case where an unrelated XML error was reported

Error passing XML file '<text type="text" id="#Kunde_Firma"/>' line 12: EndTag: '</' not found
There is obviously no line 12 ;)
This commit is contained in:
Ralf Becker 2021-11-11 09:49:31 +01:00
parent db88ad9c0d
commit 392a27b77c

View File

@ -123,6 +123,7 @@ class Widget
// read all attributes
$this->set_attrs($reader);
libxml_clear_errors();
while(($ok=$reader->read()) && $reader->depth > $depth)
{
if ($reader->nodeType == XMLReader::ELEMENT && $reader->depth > $depth)