forked from extern/egroupware
Set participants as extra params for calendar videoconferences
This commit is contained in:
parent
00e82fc0c4
commit
30d7e5ad57
@ -1098,8 +1098,8 @@ class calendar_boupdate extends calendar_bo
|
||||
'email' => is_numeric($userid) ? Api\Accounts::id2name($userid, 'account_email') : $userid,
|
||||
'avatar' => (string)$avatar,
|
||||
'account_id' => $userid,
|
||||
'cal_id' => $details['id']
|
||||
], [], $startdate, $enddate);
|
||||
'cal_id' => $details['id']
|
||||
], ['participants' =>array_filter($event['participants'], function($key){return is_numeric($key);}, ARRAY_FILTER_USE_KEY)], $startdate, $enddate);
|
||||
$event_arr['videoconference'] = [
|
||||
'field' => lang('Video Conference'),
|
||||
'data' => $details['videoconference'],
|
||||
|
@ -692,7 +692,7 @@ class calendar_groupdav extends Api\CalDAV\Handler
|
||||
'avatar' => (string)$avatar,
|
||||
'account_id' => $user,
|
||||
'cal_id' => $event['id']
|
||||
], [], $event['start_date'], $event['end_date']);
|
||||
], ['participants' =>array_filter($event['participants'], function($key){return is_numeric($key);}, ARRAY_FILTER_USE_KEY)], $event['start_date'], $event['end_date']);
|
||||
}catch (Exception $e)
|
||||
{
|
||||
//error_log(__METHOD__.'()'.$e->getMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user