aboutsummaryrefslogtreecommitdiffstats
path: root/include/help.php
diff options
context:
space:
mode:
authorAndrew Manning <andrewmanning@grid.reticu.li>2017-08-24 11:19:11 +0000
committerAndrew Manning <andrewmanning@grid.reticu.li>2017-08-24 11:19:11 +0000
commit592cf893c006f24c652902fa4fae7d2d94496c3c (patch)
tree4b21b79c07fd26125b60396a8326af58ea5917b3 /include/help.php
parent6c388575022cc10f28ed99e8e414fbc76a67bb00 (diff)
downloadvolse-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.php2
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;
}