aboutsummaryrefslogtreecommitdiffstats
path: root/include/pgettext.php
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-04-17 11:33:50 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-04-17 11:33:50 +0000
commit720c8324c7572ebf51e4083430e060900cb30750 (patch)
tree8852cf4a64f42499825cbe46ba295082ce1cc515 /include/pgettext.php
parenta7421990350e2409ee90957dab37e1ff1fc272df (diff)
downloadvolse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.tar.gz
volse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.tar.bz2
volse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.zip
Some Bugfixes, and variable checks
Diffstat (limited to 'include/pgettext.php')
-rw-r--r--include/pgettext.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pgettext.php b/include/pgettext.php
index 83e76ba9d..a079a4687 100644
--- a/include/pgettext.php
+++ b/include/pgettext.php
@@ -49,6 +49,7 @@ function get_language() {
if(isset($preferred))
return $preferred;
+ $a = get_app();
return ((isset($a->config['system']['language'])) ? $a->config['system']['language'] : 'en');
}}