mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Fix external event owner issue
This commit is contained in:
parent
f9a4c8c48b
commit
9a8b790d50
@ -1241,7 +1241,7 @@ class calendar_ical extends calendar_boupdate
|
||||
}
|
||||
// check if an owner is set and the current user has add rights
|
||||
// for that owners calendar; if not set the current user
|
||||
elseif (!isset($event['owner'])
|
||||
elseif (!isset($event['owner']) || $event['owner'][0] == 'e'
|
||||
|| !$this->check_perms(EGW_ACL_ADD, 0, $event['owner']))
|
||||
{
|
||||
$event['owner'] = $this->user;
|
||||
|
Loading…
Reference in New Issue
Block a user