diff options
author | alecpl <alec@alec.pl> | 2008-09-22 09:53:39 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-09-22 09:53:39 +0000 |
commit | cc669e3727615a1a3eab355c069c7ba6c2d307a7 (patch) | |
tree | 5637fed7db1321cad1d61030e3650d0d979a0903 /program | |
parent | cdc539d5616b9b8806a73db3b9e5270deda45472 (diff) |
- read current language from rcube_user object (config may contains 'pl', but user 'pl_PL')
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/settings/func.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 1b399de8c..4ea8dad4b 100644 --- a/program/steps/settings/func.inc +++ b/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)); } |