forked from extern/egroupware
fix for user preferences
This commit is contained in:
parent
869d16a2d0
commit
a4982a7f0a
@ -21,8 +21,8 @@
|
||||
//echo "accounts_const called<br>line: $line<br>$file";
|
||||
|
||||
$phpgw->accounts->phpgw_fillarray();
|
||||
if(! $phpgw->preferences->account_id) {
|
||||
$phpgw->preferences->preferences($phpgw_info["user"]["account_id"]);
|
||||
if(!$phpgw->preferences->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"]);
|
||||
|
Loading…
Reference in New Issue
Block a user