mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 17:44:06 +02:00
Fix a possible infinite loop.
This commit is contained in:
parent
a469e21c43
commit
faf4ef87fd
1 changed files with 3 additions and 1 deletions
|
|
@ -81,7 +81,9 @@ class Operator implements XmlDeserializable {
|
|||
$operator->arguments[] = $argument['value'];
|
||||
}
|
||||
} else {
|
||||
$reader->read();
|
||||
if (!$reader->read()) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} while ($reader->nodeType !== Reader::END_ELEMENT);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue