diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-07 09:38:44 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-07 09:38:44 +0000 |
| commit | b45dc036d214d3cfb0f320921f510f6b85c9fdac (patch) | |
| tree | 12abf256bccef3e795a80023d163f18c4c253392 /roundcubemail/program/steps/settings/save_prefs.inc | |
| parent | ab80b06250eb55781e96d70d6b52622c073ca13f (diff) | |
More code cleanup + oop-ization
git-svn-id: https://svn.roundcube.net/trunk@1360 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/save_prefs.inc')
| -rw-r--r-- | roundcubemail/program/steps/settings/save_prefs.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/settings/save_prefs.inc b/roundcubemail/program/steps/settings/save_prefs.inc index 8025ad8ed..53408f57d 100644 --- a/roundcubemail/program/steps/settings/save_prefs.inc +++ b/roundcubemail/program/steps/settings/save_prefs.inc @@ -38,8 +38,9 @@ foreach ((array)$CONFIG['dont_override'] as $p) // switch UI language -if (isset($_POST['_language'])) - $_SESSION['language'] = get_input_value('_language', RCUBE_INPUT_POST); +if (isset($_POST['_language'])) { + $RCMAIL->load_language(get_input_value('_language', RCUBE_INPUT_POST)); +} // force min size if ($a_user_prefs['pagesize'] < 1) |
