aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-05 04:48:14 -0700
committerfriendica <info@friendica.com>2013-09-05 04:48:14 -0700
commit7ecf1626371f9eb55d05c160f5748ecb0b1ba091 (patch)
treebc490513ee55c9eb343dfcb55761d3c31a8e0ea5 /mod
parentfd5e2c6d6c2c66c37fdba7cf26d50dfe1b83e566 (diff)
downloadvolse-hubzilla-7ecf1626371f9eb55d05c160f5748ecb0b1ba091.tar.gz
volse-hubzilla-7ecf1626371f9eb55d05c160f5748ecb0b1ba091.tar.bz2
volse-hubzilla-7ecf1626371f9eb55d05c160f5748ecb0b1ba091.zip
fix location of language variable in help module
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);