fix for user preferences

This commit is contained in:
skeeter 2001-01-07 23:34:39 +00:00
parent 869d16a2d0
commit a4982a7f0a

View File

@ -22,7 +22,7 @@
$phpgw->accounts->phpgw_fillarray();
if(!$phpgw->preferences->account_id) {
$phpgw->preferences->preferences($phpgw_info["user"]["account_id"]);
$phpgw->preferences = new preferences($phpgw_info["user"]["account_id"]);
}
$phpgw_info["user"]["preferences"] = $phpgw->preferences->get_preferences();
$this->groups = $this->read_groups($phpgw_info["user"]["userid"]);