mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Fix event from mail did not add users as participants
This commit is contained in:
parent
0cdcc975cb
commit
a13035ac06
@ -768,7 +768,7 @@ class calendar_uiforms extends calendar_ui
|
||||
}
|
||||
// Adding participants needs to be done as an edit, in case we
|
||||
// have participants visible in seperate calendars
|
||||
if(count(array_diff_key($event['participants'], $old_event['participants'])))
|
||||
if(is_array($old_event['participants']) && count(array_diff_key($event['participants'], $old_event['participants'])))
|
||||
{
|
||||
$update_type = 'edit';
|
||||
}
|
||||
@ -2969,7 +2969,7 @@ class calendar_uiforms extends calendar_ui
|
||||
}
|
||||
}
|
||||
$participants = array_merge($participants , array(
|
||||
"account" => $accounts,
|
||||
"participant" => $accounts,
|
||||
"role" => "REQ-PARTICIPANT",
|
||||
"add" => "pressed"
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user