fixed bug: copy of event does not copy participants

This commit is contained in:
Ralf Becker 2007-06-25 19:52:03 +00:00
parent cfdf9fcba4
commit 9136db9df5

View File

@ -338,8 +338,6 @@ 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'];