From 73af6167492aa6f37127c2a0f535bd817aaa8e60 Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Tue, 26 Dec 2006 18:48:37 +0000 Subject: [PATCH] reset participants of copied event to the owner of the copied event --- calendar/inc/class.uiforms.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calendar/inc/class.uiforms.inc.php b/calendar/inc/class.uiforms.inc.php index 99e168f8b5..3c4c1f99bf 100644 --- a/calendar/inc/class.uiforms.inc.php +++ b/calendar/inc/class.uiforms.inc.php @@ -342,6 +342,8 @@ class uiforms extends uical unset($event['modified']); unset($event['modifier']); $event['owner'] = !(int)$this->owner || !$this->bo->check_perms(EGW_ACL_ADD,0,$this->owner) ? $this->user : $this->owner; + $event['participants'] = array($event['owner']=>'A'); + $event['participant_types'] = array('u'=>$event['participants']); $preserv['view'] = $preserv['edit_single'] = false; $msg = lang('Event copied - the copy can now be edited'); $event['title'] = lang('Copy of:').' '.$event['title'];