From 592cf893c006f24c652902fa4fae7d2d94496c3c Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Thu, 24 Aug 2017 11:19:11 +0000 Subject: Fixed incorrect language path when choosing the language from browser preference --- include/help.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/help.php') 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; } -- cgit v1.2.3