summaryrefslogtreecommitdiff
path: root/program/include/rcube_shared.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r--program/include/rcube_shared.inc4
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))