Calendar: Fix user listed in participants twice when creating an event from an email

This commit is contained in:
nathan 2022-12-23 10:45:53 -07:00
parent 7c8e0b12b2
commit a1da1a6fa6

View File

@ -573,7 +573,7 @@ class calendar_uiforms extends calendar_ui
if (is_numeric($uid))
{
$id = $uid;
$type = 'u';
$type = '';
}
else
{
@ -3505,7 +3505,7 @@ class calendar_uiforms extends calendar_ui
'delete_id' => $GLOBALS['egw_info']['user']['account_id'],
'status' => 'A',
'old_status' => 'A',
'app' => 'User',
'app' => 'api-accounts',
'role' => 'REQ-PARTICIPANT'
);
foreach($mailContent['addresses'] as $address)