From 92abec52b6aab2b012298c495cd4c40f2776407e Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 31 Mar 2010 22:59:57 +1300 Subject: [PATCH] If the multiget report fails, fall back to individual GET requests. --- inc/caldav-client-v2.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inc/caldav-client-v2.php b/inc/caldav-client-v2.php index 7654d464..53e7bf33 100644 --- a/inc/caldav-client-v2.php +++ b/inc/caldav-client-v2.php @@ -736,6 +736,11 @@ EOXML; $events[$href] = $this->xmlnodes[$v]['value']; } } + else { + foreach( $event_hrefs AS $k => $href ) { + $events[$href] = $this->DoGETRequest($href); + } + } return $events; }