Issue 10983: Use the user's settings for the help language

This commit is contained in:
Michael 2021-11-15 22:08:51 +00:00
parent 893b8e5df3
commit 84e62b5293

View file

@ -39,9 +39,9 @@ class Help extends BaseModule
$text = '';
$filename = '';
$a = DI::app();
$config = DI::config();
$lang = $config->get('system', 'language');
$lang = DI::session()->get('language');
$lang = $lang ?? $config->get('system', 'language');
// @TODO: Replace with parameter from router
if (DI::args()->getArgc() > 1) {