mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fix long standing issue in is_owner() - mailto is a subarray of organizer.
This commit is contained in:
parent
1b32fe33fd
commit
b356444f24
@ -2907,7 +2907,7 @@
|
||||
|
||||
function is_owner($part_record)
|
||||
{
|
||||
if(($part_record['user'].'@'.$part_record['host'] == $GLOBALS['phpgw_info']['user']['preferences']['email']['address']) ||
|
||||
if(($part_record['mailto']['user'].'@'.$part_record['mailto']['host'] == $GLOBALS['phpgw_info']['user']['preferences']['email']['address']) ||
|
||||
($part_record['cn'] == $GLOBALS['phpgw_info']['user']['account_lid']))
|
||||
{
|
||||
return True;
|
||||
|
Loading…
Reference in New Issue
Block a user