mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 15:38:27 +01:00
fixed merging of session and user prefs
This commit is contained in:
parent
30d02e3cc4
commit
745bfdc35e
@ -247,7 +247,17 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
$this->data = array_merge_recursive($this->user,$this->session);
|
||||
$this->data = $this->user;
|
||||
|
||||
// let the (temp.) session prefs. override the user prefs.
|
||||
//
|
||||
foreach($this->session as $app => $values)
|
||||
{
|
||||
foreach($values as $var => $value)
|
||||
{
|
||||
$this->data[$app][$var] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
// now use defaults if needed (user-value unset or empty)
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user