mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-20 01:44:15 +00:00
Fix minor unassigned value warning.
This commit is contained in:
parent
0b3040e907
commit
f70eb487c4
@ -696,7 +696,7 @@ class CalDAVClient {
|
|||||||
if ( isset($this->xmltags['DAV::getetag']) ) {
|
if ( isset($this->xmltags['DAV::getetag']) ) {
|
||||||
foreach( $this->xmltags['DAV::getetag'] AS $k => $v ) {
|
foreach( $this->xmltags['DAV::getetag'] AS $k => $v ) {
|
||||||
$href = $this->HrefForProp('DAV::getetag', $k);
|
$href = $this->HrefForProp('DAV::getetag', $k);
|
||||||
if ( isset($href) ) $etags[$href] = $this->xmlnodes[$v]['value'];
|
if ( isset($href) && isset($this->xmlnodes[$v]['value']) ) $etags[$href] = $this->xmlnodes[$v]['value'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user