mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
fixed bug: copy of event does not copy participants
This commit is contained in:
parent
cfdf9fcba4
commit
9136db9df5
@ -338,8 +338,6 @@ class uiforms extends uical
|
|||||||
unset($event['modified']);
|
unset($event['modified']);
|
||||||
unset($event['modifier']);
|
unset($event['modifier']);
|
||||||
$event['owner'] = !(int)$this->owner || !$this->bo->check_perms(EGW_ACL_ADD,0,$this->owner) ? $this->user : $this->owner;
|
$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;
|
$preserv['view'] = $preserv['edit_single'] = false;
|
||||||
$msg = lang('Event copied - the copy can now be edited');
|
$msg = lang('Event copied - the copy can now be edited');
|
||||||
$event['title'] = lang('Copy of:').' '.$event['title'];
|
$event['title'] = lang('Copy of:').' '.$event['title'];
|
||||||
|
Loading…
Reference in New Issue
Block a user