From e27920ff99baedebc36e5bdbb0475a8ebf5f7c23 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 26 Apr 2012 07:02:52 +0000 Subject: [PATCH] * CalDAV/Calendar: copied events need to get new name-part in CalDAV URL, otherwise sync fails --- calendar/inc/class.calendar_uiforms.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index f04230eb7b..e292f8ff31 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -5,7 +5,7 @@ * @link http://www.egroupware.org * @package calendar * @author Ralf Becker - * @copyright (c) 2004-10 by RalfBecker-At-outdoor-training.de + * @copyright (c) 2004-12 by RalfBecker-At-outdoor-training.de * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @version $Id$ */ @@ -445,6 +445,7 @@ class calendar_uiforms extends calendar_ui case 'copy': // create new event with copied content, some content need to be unset to make a "new" event unset($event['id']); unset($event['uid']); + unset($event['caldav_name']); unset($event['alarm']); unset($event['reference']); unset($event['recurrence']);