diff options
author | thomascube <thomas@roundcube.net> | 2008-04-30 08:21:42 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-04-30 08:21:42 +0000 |
commit | 197601ef5fa2e6aaabfb6e0baaf56179f7cc1ee3 (patch) | |
tree | 464b77acd299fa37a753e384b5bc14bda0cd16fa /program/include/rcube_shared.inc | |
parent | 0dfae004d84f428f1af1884282d24c32d6fc3173 (diff) |
Next step: introduce the application class 'rcmail' and get rid of some global vars
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r-- | program/include/rcube_shared.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index eed9662f0..03525b30f 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -91,9 +91,11 @@ function rcube_browser() */ function rcube_label($attrib) { - global $sess_user_lang, $OUTPUT; + global $OUTPUT; static $sa_text_data = false; static $s_language, $utf8_decode; + + $sess_user_lang = $_SESSION['language']; // extract attributes if (is_string($attrib)) |