aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web/WebServer.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-13 19:43:12 +0000
committerMario <mario@mariovavti.com>2022-11-13 19:43:12 +0000
commitca6ba92d824b528f197a7253c043fd2aae5b4d7c (patch)
tree88e7cac94e22a24429a42cc5960116d6d96b70ec /Zotlabs/Web/WebServer.php
parent8c6c43d762652d5f6470db99b3b2bd089d1bea23 (diff)
parent04516b787ac1230d7da4bd7445f7a8bc76bd65a1 (diff)
downloadvolse-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.php3
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);
}