mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
change the loading of the application params
This commit is contained in:
parent
52796590bf
commit
b58ac26b3a
@ -127,10 +127,10 @@
|
||||
exit;
|
||||
}
|
||||
$this->preferences = CreateObject("phpgwapi.preferences", intval($phpgw_info["user"]["account_id"]));
|
||||
$app_params[] = intval($phpgw_info["user"]["account_id"]);
|
||||
$this->applications = CreateObject("phpgwapi.applications", $app_params);
|
||||
$this->applications = CreateObject("phpgwapi.applications", array(intval($phpgw_info["user"]["account_id"]),'u'));
|
||||
$phpgw_info["user"]["preferences"] = $this->preferences->get_saved_preferences();
|
||||
$phpgw_info["user"]["apps"] = $this->applications->enabled_apps();
|
||||
@reset($phpgw_info["user"]["apps"]);
|
||||
}
|
||||
$this->translation = CreateObject("phpgwapi.translation");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user