aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/language.php')
-rw-r--r--include/language.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/language.php b/include/language.php
index f43b7e179..823fd3c96 100644
--- a/include/language.php
+++ b/include/language.php
@@ -80,7 +80,8 @@ function push_lang($language) {
}
$a->strings = array();
load_translation_table($language);
- $lang = $language;
+ $a->language = $lang = $language;
+
}
function pop_lang() {
@@ -94,7 +95,7 @@ function pop_lang() {
else
$a->strings = array();
- $lang = $a->langsave;
+ $a->language = $lang = $a->langsave;
}