Make sure we load the settings for the user's selected template/framework, not the current one.

This commit is contained in:
Nathan Gray 2013-11-26 17:55:51 +00:00
parent 127663af77
commit 94ce4db297

View File

@ -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')
{