aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/help.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/help.php b/mod/help.php
index af05bd47c..770a0a8af 100644
--- a/mod/help.php
+++ b/mod/help.php
@@ -2,7 +2,7 @@
if(! function_exists('load_doc_file')) {
function load_doc_file($s) {
- global $lang;
+ $lang = get_app()->language;
if(! isset($lang))
$lang = 'en';
$b = basename($s);