diff options
author | Mario <mario@mariovavti.com> | 2022-11-10 10:37:41 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-11-10 10:37:41 +0000 |
commit | 63dc8d7fc4092d7bb527a46149d211c9d135a7f0 (patch) | |
tree | 2cda27e265ab0cfcce2acbcdd204b3bc38d4d9ea /Zotlabs/Web | |
parent | a1a287bac79f1e4f5b60e0ee293b5281c8049774 (diff) | |
download | volse-hubzilla-63dc8d7fc4092d7bb527a46149d211c9d135a7f0.tar.gz volse-hubzilla-63dc8d7fc4092d7bb527a46149d211c9d135a7f0.tar.bz2 volse-hubzilla-63dc8d7fc4092d7bb527a46149d211c9d135a7f0.zip |
fix undefined variable
Diffstat (limited to 'Zotlabs/Web')
-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); } |