Merge pull request #10986 from annando/issue-10983

Issue 10983: Use the user's settings for the help language
This commit is contained in:
Hypolite Petovan 2021-11-16 06:57:33 -05:00 committed by GitHub
commit 877b90f7f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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