forked from extern/egroupware
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