forked from extern/egroupware
Fix calendar participant does not show user accounts
This commit is contained in:
parent
4d5daa4d3f
commit
1fab6876c4
@ -155,7 +155,7 @@ class calendar_owner_etemplate_widget extends Etemplate\Widget\Taglist
|
||||
$account_options = $options + array('account_type' => $a_type);
|
||||
$_results += Api\Accounts::link_query($query,$account_options);
|
||||
}
|
||||
$_results = array_intersect_key($_results, $GLOBALS['egw']->acl->get_grants('calendar'));
|
||||
if (!$options['exec']['nocheckgrants']) $_results = array_intersect_key($_results, $GLOBALS['egw']->acl->get_grants('calendar'));
|
||||
}
|
||||
else if ($data['app'] && Link::get_registry($data['app'], 'query'))
|
||||
{
|
||||
|
@ -1060,7 +1060,8 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
||||
start: content.start,
|
||||
end: content.end,
|
||||
duration: content.duration,
|
||||
whole_day: content.whole_day
|
||||
whole_day: content.whole_day,
|
||||
nocheckgrants: true
|
||||
}});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user