From f70eb487c4d1a5db670d0cbb9f3516e24bbe60bd Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 22 Mar 2010 17:23:09 +1300 Subject: [PATCH] Fix minor unassigned value warning. --- inc/caldav-client-v2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-client-v2.php b/inc/caldav-client-v2.php index c6e0e48c..a6d80581 100644 --- a/inc/caldav-client-v2.php +++ b/inc/caldav-client-v2.php @@ -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']; } }