From 974faa7483aeaf3a8ee282d1dda2a6cd7a705a34 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 10 May 2008 20:06:39 +0000 Subject: [PATCH] "using renamed addressbook_bo" --- calendar/inc/class.boical.inc.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/calendar/inc/class.boical.inc.php b/calendar/inc/class.boical.inc.php index 1f01af508c..3d2ed19425 100644 --- a/calendar/inc/class.boical.inc.php +++ b/calendar/inc/class.boical.inc.php @@ -189,6 +189,7 @@ switch($icalFieldName) { case 'ATTENDEE': + //if (count($event['participants']) == 1 && isset($event['participants'][$this->user])) break; foreach((array)$event['participants'] as $uid => $status) { if (!($info = $this->resource_info($uid))) continue; @@ -245,8 +246,8 @@ case 'DTEND': if(date('H:i:s',$event['end']) == '23:59:59') $event['end']++; if(date('H:i:s',$event['end']) == '23:59:00') $event['end']+=60; // needed by old eGW whole-day events - $attributes[$icalFieldName] = $event['end']; - break; + $attributes[$icalFieldName] = $event['end']; + break; case 'RRULE': if ($event['recur_type'] == MCAL_RECUR_NONE) break; // no recuring event @@ -790,7 +791,7 @@ { // we use the account we found } - elseif ((list($data) = ExecMethod2('addressbook.bocontacts.search',array( + elseif ((list($data) = ExecMethod2('addressbook.addressbook_bo.search',array( 'email' => $email, 'email_home' => $email, ),true,'','','',false,'OR')))