mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Make sure we load the settings for the user's selected template/framework, not the current one.
This commit is contained in:
parent
127663af77
commit
94ce4db297
@ -470,6 +470,8 @@ class preferences_settings
|
||||
{
|
||||
$this->appname = $appname == 'common' ? 'preferences' : $appname;
|
||||
|
||||
// Set framework here to make sure we get the right settings for user's [newly] selected template
|
||||
$GLOBALS['egw_info']['server']['template_set'] = $GLOBALS['egw']->preferences->data['common']['template_set'];
|
||||
translation::add_app($this->appname);
|
||||
if($this->appname != 'preferences')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user