mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +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
|
// check if an owner is set and the current user has add rights
|
||||||
// for that owners calendar; if not set the current user
|
// 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']))
|
|| !$this->check_perms(EGW_ACL_ADD, 0, $event['owner']))
|
||||||
{
|
{
|
||||||
$event['owner'] = $this->user;
|
$event['owner'] = $this->user;
|
||||||
|
Loading…
Reference in New Issue
Block a user