mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Fix error when saving copied event if current user does not have add rights to original user's calendar
This commit is contained in:
parent
4be7cdecc7
commit
96b75f7888
@ -600,7 +600,7 @@ class calendar_uiforms extends calendar_ui
|
||||
unset($event['modified']);
|
||||
unset($event['modifier']);
|
||||
unset($event['caldav_name']);
|
||||
$event['owner'] = !(int)$event['owner'] || !$this->bo->check_perms(Acl::ADD,0,$evnet['owner']) ? $this->user : $event['owner'];
|
||||
$event['owner'] = !(int)$event['owner'] || !$this->bo->check_perms(Acl::ADD,0,$event['owner']) ? $this->user : $event['owner'];
|
||||
|
||||
// Clear participant stati
|
||||
foreach($event['participant_types'] as $type => &$participants)
|
||||
|
Loading…
Reference in New Issue
Block a user