assigning saved preferences to egw_info, which is used for this request

This commit is contained in:
Ralf Becker 2015-01-20 08:57:21 +00:00
parent 5d93df0fbd
commit acf6793e52

View File

@ -779,7 +779,8 @@ class home_ui
$preferences->add($app, $name, $value, 'default');
}
}
$preferences->save_repository(null, 'default');
// assigning saved preferences to egw_info, which is used for this request
$GLOBALS['egw_info']['user']['preferences'] = $preferences->save_repository(null, 'default');
}
/**