aboutsummaryrefslogtreecommitdiffstats
path: root/include/pgettext.php
diff options
context:
space:
mode:
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');
}}