diff options
author | Andrew Manning <andrewmanning@grid.reticu.li> | 2017-08-24 11:19:11 +0000 |
---|---|---|
committer | Andrew Manning <andrewmanning@grid.reticu.li> | 2017-08-24 11:19:11 +0000 |
commit | 592cf893c006f24c652902fa4fae7d2d94496c3c (patch) | |
tree | 4b21b79c07fd26125b60396a8326af58ea5917b3 /include/help.php | |
parent | 6c388575022cc10f28ed99e8e414fbc76a67bb00 (diff) | |
download | volse-hubzilla-592cf893c006f24c652902fa4fae7d2d94496c3c.tar.gz volse-hubzilla-592cf893c006f24c652902fa4fae7d2d94496c3c.tar.bz2 volse-hubzilla-592cf893c006f24c652902fa4fae7d2d94496c3c.zip |
Fixed incorrect language path when choosing the language from browser preference
Diffstat (limited to 'include/help.php')
-rw-r--r-- | include/help.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/help.php b/include/help.php index cbadd02d9..f38f77854 100644 --- a/include/help.php +++ b/include/help.php @@ -128,7 +128,7 @@ function load_doc_file($s) { $x = determine_help_language(); $lang = $x['language']; $url_idx = ($x['from_url'] ? 1 : 0); - if($x['from_url'] && $lang !== 'en') { + if($lang !== 'en') { $path .= '/' . $lang; } |