Fix minor unassigned value warning.

This commit is contained in:
Andrew McMillan 2010-03-22 17:23:09 +13:00
parent 0b3040e907
commit f70eb487c4

View File

@ -696,7 +696,7 @@ class CalDAVClient {
if ( isset($this->xmltags['DAV::getetag']) ) {
foreach( $this->xmltags['DAV::getetag'] AS $k => $v ) {
$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'];
}
}