aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/language.php')
-rw-r--r--include/language.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/language.php b/include/language.php
index 899375dcf..56d5f1cf4 100644
--- a/include/language.php
+++ b/include/language.php
@@ -125,7 +125,7 @@ function load_translation_table($lang) {
if(! function_exists('t')) {
function t($s) {
- $a = get_app();
+ global $a;
if(x($a->strings,$s)) {
$t = $a->strings[$s];