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