From fbe1856c5c6ef4e7562fd12d06673aa1f0ebcd38 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 24 Nov 2011 14:37:45 +0000 Subject: [PATCH] * CalDAV: fixed group-invitations got lost (urn:uuid url lost one char with each new import) --- calendar/inc/class.calendar_ical.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index c02557318a..1980f0ae36 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -464,7 +464,7 @@ class calendar_ical extends calendar_boupdate { case 'g': $cutype = 'GROUP'; - $participantURL = 'urn:uuid:'.common::generate_uid('accounts', substr($uid, 1)); + $participantURL = 'urn:uuid:'.common::generate_uid('accounts', $uid); $members = $GLOBALS['egw']->accounts->members($uid, true); if (!isset($event['participants'][$this->user]) && in_array($this->user, $members)) { @@ -496,7 +496,7 @@ class calendar_ical extends calendar_boupdate default: $cutype = 'UNKNOWN'; break; - }; + } // generate urn:uuid, if we have no other participant URL if (empty($participantURL) && $info && $info['app']) {