Merge pull request #10986 from annando/issue-10983
Issue 10983: Use the user's settings for the help language
This commit is contained in:
commit
877b90f7f0
|
@ -39,9 +39,8 @@ class Help extends BaseModule
|
||||||
$text = '';
|
$text = '';
|
||||||
$filename = '';
|
$filename = '';
|
||||||
|
|
||||||
$a = DI::app();
|
|
||||||
$config = DI::config();
|
$config = DI::config();
|
||||||
$lang = $config->get('system', 'language');
|
$lang = DI::session()->get('language', $config->get('system', 'language'));
|
||||||
|
|
||||||
// @TODO: Replace with parameter from router
|
// @TODO: Replace with parameter from router
|
||||||
if (DI::args()->getArgc() > 1) {
|
if (DI::args()->getArgc() > 1) {
|
||||||
|
|
Loading…
Reference in a new issue