From 3546f1057d1d4d221f5d40a307d5742a27f6ae4d Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Sun, 27 Dec 2009 15:49:40 +0000 Subject: [PATCH] call groupdav::fix_series() really just for groupdav clients --- calendar/inc/class.calendar_ical.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 8c37ceabbf..1710f006a3 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -752,7 +752,8 @@ class calendar_ical extends calendar_boupdate // other events are exceptions and need to be checked if they are new // and for real (not status only) exceptions their recurrence-id need // to be included as recur_exception to the master - if ($cal_id > 0 && count($events) > 1 && !$events[1]['id'] && + if ($this->productManufacturer == 'groupdav' && $cal_id > 0 && + count($events) > 1 && !$events[1]['id'] && $events[0]['recur_type'] != MCAL_RECUR_NONE) { calendar_groupdav::fix_series($events);