From 80b7afb8d3e04fa32ae1e5d3bf6fdc0894447f10 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 31 Mar 2010 23:03:04 +1300 Subject: [PATCH] Assign the event we got into the events array - not the whole response. --- inc/caldav-client-v2.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/caldav-client-v2.php b/inc/caldav-client-v2.php index 53e7bf33..3fbd3582 100644 --- a/inc/caldav-client-v2.php +++ b/inc/caldav-client-v2.php @@ -738,7 +738,8 @@ EOXML; } else { foreach( $event_hrefs AS $k => $href ) { - $events[$href] = $this->DoGETRequest($href); + $this->DoGETRequest($href); + $events[$href] = $this->httpResponseBody; } }