mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
Move creation of apps object up above app display vars
This commit is contained in:
parent
063db53e99
commit
774857aad3
@ -115,9 +115,13 @@
|
||||
$t->set_var('groups_select',$groups_select);
|
||||
|
||||
|
||||
// create list of available app
|
||||
// create list of available apps
|
||||
$i = 0;
|
||||
|
||||
$apps = CreateObject('phpgwapi.applications',intval($_account_id));
|
||||
$db_perms = $apps->read_account_specific();
|
||||
|
||||
@reset($phpgw_info['apps']);
|
||||
$availableApps = $phpgw_info['apps'];
|
||||
@asort($availableApps);
|
||||
@reset($availableApps);
|
||||
@ -132,9 +136,6 @@
|
||||
}
|
||||
|
||||
// create apps output
|
||||
$apps = CreateObject('phpgwapi.applications',intval($_account_id));
|
||||
$db_perms = $apps->read_account_specific();
|
||||
|
||||
@reset($db_perms);
|
||||
|
||||
for ($i=0;$i<=count($perm_display);$i++)
|
||||
|
Loading…
Reference in New Issue
Block a user