mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
"adding importing user to an event newly imported via iCal: without that an iCal which did not contain the eGroupware mail address of the user will be inaccessible"
This commit is contained in:
parent
8991124ced
commit
6498abb3e3
@ -927,9 +927,10 @@ class calendar_ical extends calendar_boupdate
|
||||
}
|
||||
|
||||
// add ourself to new events as participant
|
||||
if($cal_id == -1 && !isset($this->supportedFields['participants']))
|
||||
if ($cal_id == -1 && (!isset($this->supportedFields['participants']) ||
|
||||
!isset($event['participants'][$GLOBALS['egw_info']['user']['account_id']])))
|
||||
{
|
||||
$event['participants'] = array($GLOBALS['egw_info']['user']['account_id'] => 'A');
|
||||
$event['participants'][$GLOBALS['egw_info']['user']['account_id']] = 'A';
|
||||
}
|
||||
|
||||
// If this is an updated meeting, and the client doesn't support
|
||||
|
Loading…
Reference in New Issue
Block a user