mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 17:44:06 +02:00
Fix Undefined offset: 0
This commit is contained in:
parent
9c24c70774
commit
f9b08747fc
3 changed files with 66 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class Operator implements XmlDeserializable {
|
|||
if ($reader->nodeType === Reader::ELEMENT) {
|
||||
$argument = $reader->parseCurrentElement();
|
||||
if ($argument['name'] === '{DAV:}prop') {
|
||||
$operator->arguments[] = $argument['value'][0];
|
||||
$operator->arguments[] = $argument['value'][0] ?? '';
|
||||
} else {
|
||||
$operator->arguments[] = $argument['value'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue