Fix calendar change status (eg. notifications or via context menu) for grouped events not setting the status on first call

This commit is contained in:
Hadi Nategh 2018-03-22 11:56:10 +01:00
parent 5f63892c09
commit 6b7ac9651c

View File

@ -2954,7 +2954,7 @@ class calendar_uiforms extends calendar_ui
else
{
// Group membership
foreach($event['participants'] as $id => $status)
foreach(array_keys($event['participants']) as $id)
{
if($GLOBALS['egw']->accounts->get_type($id) == 'g' && in_array($uid,$GLOBALS['egw']->accounts->members($id,true)))
{