change the loading of the application params

This commit is contained in:
skeeter 2001-01-30 11:35:23 +00:00
parent 52796590bf
commit b58ac26b3a

View File

@ -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");