mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 21:13:23 +01:00
need to check type, not account_id to detected "default" or "forced" prefs
This commit is contained in:
parent
94f0a2df9c
commit
c7ec0a09a0
@ -1576,7 +1576,7 @@ END:VTIMEZONE
|
||||
function settings($hook_data)
|
||||
{
|
||||
$cals = array();
|
||||
if (!$hook_data['setup'] && is_numeric($hook_data['account_id']))
|
||||
if (!$hook_data['setup'] && in_array($hook_data['type'], array('user', 'group')))
|
||||
{
|
||||
foreach (calendar_bo::list_calendars($hook_data['account_id']) as $entry)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user