diff options
author | Mario <mario@mariovavti.com> | 2022-11-13 19:43:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-11-13 19:43:12 +0000 |
commit | ca6ba92d824b528f197a7253c043fd2aae5b4d7c (patch) | |
tree | 88e7cac94e22a24429a42cc5960116d6d96b70ec /Zotlabs/Web/WebServer.php | |
parent | 8c6c43d762652d5f6470db99b3b2bd089d1bea23 (diff) | |
parent | 04516b787ac1230d7da4bd7445f7a8bc76bd65a1 (diff) | |
download | volse-hubzilla-ca6ba92d824b528f197a7253c043fd2aae5b4d7c.tar.gz volse-hubzilla-ca6ba92d824b528f197a7253c043fd2aae5b4d7c.tar.bz2 volse-hubzilla-ca6ba92d824b528f197a7253c043fd2aae5b4d7c.zip |
Merge branch 'dev'
Diffstat (limited to 'Zotlabs/Web/WebServer.php')
-rw-r--r-- | Zotlabs/Web/WebServer.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Web/WebServer.php b/Zotlabs/Web/WebServer.php index 9fa5a7797..f43ae10a4 100644 --- a/Zotlabs/Web/WebServer.php +++ b/Zotlabs/Web/WebServer.php @@ -50,7 +50,8 @@ class WebServer { else unset($_SESSION['language']); } - if((x($_SESSION, 'language')) && ($_SESSION['language'] !== $lang)) { + + if ((x($_SESSION, 'language')) && ($_SESSION['language'] !== \App::$language)) { \App::$language = $_SESSION['language']; load_translation_table(\App::$language); } |