aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-22 00:46:20 -0700
committerfriendica <info@friendica.com>2012-07-22 00:46:20 -0700
commit236ba8badcca39206e5a8595af5c1464bba2863e (patch)
treeca27bc811b360ffad153a8220df6c1d21f403022 /include/language.php
parent6d74c2c594fd00c32f38f5ad8d7dd66e9e58b077 (diff)
downloadvolse-hubzilla-236ba8badcca39206e5a8595af5c1464bba2863e.tar.gz
volse-hubzilla-236ba8badcca39206e5a8595af5c1464bba2863e.tar.bz2
volse-hubzilla-236ba8badcca39206e5a8595af5c1464bba2863e.zip
more account infrastructure
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;
}