diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-22 09:53:39 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-22 09:53:39 +0000 |
| commit | 1f88b0fb4e7b4a4813bf75223f9c4529f3172c0e (patch) | |
| tree | 4a42749241f85bdd06bf2721a5fe7540d8a7130d /roundcubemail/program | |
| parent | b243b75ecce538b72e633b69a1bc72e274ce624f (diff) | |
- read current language from rcube_user object (config may contains 'pl', but user 'pl_PL')
git-svn-id: https://svn.roundcube.net/trunk@1882 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/steps/settings/func.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/settings/func.inc b/roundcubemail/program/steps/settings/func.inc index 1b399de8c..4ea8dad4b 100644 --- a/roundcubemail/program/steps/settings/func.inc +++ b/roundcubemail/program/steps/settings/func.inc @@ -22,7 +22,6 @@ if (!$OUTPUT->ajax_call) $OUTPUT->set_pagetitle(rcube_label('preferences')); - function rcmail_user_prefs_form($attrib) { global $RCMAIL; @@ -49,7 +48,7 @@ function rcmail_user_prefs_form($attrib) $select_lang->add(array_values($a_lang), array_keys($a_lang)); $table->add('title', html::label($field_id, Q(rcube_label('language')))); - $table->add(null, $select_lang->show($config['language'])); + $table->add(null, $select_lang->show($RCMAIL->user->language)); } |
