mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Calendar - add missing group memberships on initial load. Fixes group calendars don't work.
This commit is contained in:
parent
397b77a86d
commit
ecdfc9808d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user