mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +01:00
Set participants as extra params for calendar videoconferences
This commit is contained in:
parent
f7e10fdc35
commit
d17f3a6e39
@ -1098,8 +1098,8 @@ class calendar_boupdate extends calendar_bo
|
|||||||
'email' => is_numeric($userid) ? Api\Accounts::id2name($userid, 'account_email') : $userid,
|
'email' => is_numeric($userid) ? Api\Accounts::id2name($userid, 'account_email') : $userid,
|
||||||
'avatar' => (string)$avatar,
|
'avatar' => (string)$avatar,
|
||||||
'account_id' => $userid,
|
'account_id' => $userid,
|
||||||
'cal_id' => $details['id']
|
'cal_id' => $details['id']
|
||||||
], [], $startdate, $enddate);
|
], ['participants' =>array_filter($event['participants'], function($key){return is_numeric($key);}, ARRAY_FILTER_USE_KEY)], $startdate, $enddate);
|
||||||
$event_arr['videoconference'] = [
|
$event_arr['videoconference'] = [
|
||||||
'field' => lang('Video Conference'),
|
'field' => lang('Video Conference'),
|
||||||
'data' => $details['videoconference'],
|
'data' => $details['videoconference'],
|
||||||
|
@ -692,7 +692,7 @@ class calendar_groupdav extends Api\CalDAV\Handler
|
|||||||
'avatar' => (string)$avatar,
|
'avatar' => (string)$avatar,
|
||||||
'account_id' => $user,
|
'account_id' => $user,
|
||||||
'cal_id' => $event['id']
|
'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)
|
}catch (Exception $e)
|
||||||
{
|
{
|
||||||
//error_log(__METHOD__.'()'.$e->getMessage());
|
//error_log(__METHOD__.'()'.$e->getMessage());
|
||||||
|
Loading…
Reference in New Issue
Block a user