Skip to content

Commit

Permalink
Merge pull request #4 from kitzberger/kitzberger-patch-1
Browse files Browse the repository at this point in the history
FIX: FindCalendarHome broken due to typo
  • Loading branch information
carduz authored Jan 28, 2019
2 parents e672f89 + fe20bb1 commit 981ba1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CalDAVClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ function FindCalendarHome( $recursed=false ) {
}

$calendar_home = array();
if (isset($this->xamltags['urn:ietf:params:xml:ns:caldav:calendar-home-set'])) {
if (isset($this->xmltags['urn:ietf:params:xml:ns:caldav:calendar-home-set'])) {
foreach( $this->xmltags['urn:ietf:params:xml:ns:caldav:calendar-home-set'] AS $k => $v ) {
if ( $this->xmlnodes[$v]['type'] != 'open' ) continue;
while( $this->xmlnodes[++$v]['type'] != 'close' && $this->xmlnodes[$v]['tag'] != 'urn:ietf:params:xml:ns:caldav:calendar-home-set' ) {
Expand Down

0 comments on commit 981ba1c

Please sign in to comment.