Calendar - add missing group memberships on initial load. Fixes group calendars don't work.

This commit is contained in:
nathangray 2019-08-30 13:30:51 -06:00
parent 397b77a86d
commit ecdfc9808d

View File

@ -81,6 +81,11 @@ class calendar_owner_etemplate_widget extends Etemplate\Widget\Taglist
));
}
}
else
{
// Add in group memberships as strings
$data['resources'] = array_map(function($a) { return ''.$a;},$GLOBALS['egw']->accounts->members($account_id, true));
}
return $data;
},
array_keys($accounts), $accounts