forked from extern/egroupware
removed type casting as get_account_id() now handles that
This commit is contained in:
parent
111a3f1e2f
commit
78c32a5d6a
@ -48,7 +48,7 @@
|
||||
{
|
||||
$account = CreateObject('phpgwapi.accounts',$_account_id);
|
||||
$userData = $account->read_repository();
|
||||
$userGroups = $account->memberships(intval($_account_id));
|
||||
$userGroups = $account->memberships($_account_id);
|
||||
$allGroups = $account->get_list('groups');
|
||||
}
|
||||
|
||||
@ -118,7 +118,7 @@
|
||||
// create list of available apps
|
||||
$i = 0;
|
||||
|
||||
$apps = CreateObject('phpgwapi.applications',intval($_account_id));
|
||||
$apps = CreateObject('phpgwapi.applications',$_account_id);
|
||||
$db_perms = $apps->read_account_specific();
|
||||
|
||||
@reset($phpgw_info['apps']);
|
||||
|
Loading…
Reference in New Issue
Block a user