From 487654253773209b9defc476bbcbf58c321e5222 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 27 Dec 2010 12:46:00 +1300 Subject: [PATCH] Fix whitespace. Signed-off-by: Andrew McMillan --- inc/caldav-PUT-functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/caldav-PUT-functions.php b/inc/caldav-PUT-functions.php index 04adf9f6..a044d4a8 100644 --- a/inc/caldav-PUT-functions.php +++ b/inc/caldav-PUT-functions.php @@ -253,10 +253,10 @@ function handle_schedule_reply ( $ical ) { $resources = $ical->GetComponents('VTIMEZONE',false); $ic = $resources[0]; $etag = md5 ( $request->raw_post ); - $organizer = $ic->GetProperties('ORGANIZER'); - // for now we treat events with out organizers as an error - if ( count ( $organizer ) < 1 ) - return false; + $organizer = $ic->GetProperties('ORGANIZER'); + // for now we treat events with out organizers as an error + if ( count ( $organizer ) < 1 ) return false; + $attendees = array_merge($organizer,$ic->GetProperties('ATTENDEE')); $wr_attendees = $ic->GetProperties('X-WR-ATTENDEE'); if ( count ( $wr_attendees ) > 0 ) {