Update src/Module/Help.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
84e62b5293
commit
ba031e4534
1 changed files with 1 additions and 2 deletions
|
@ -40,8 +40,7 @@ class Help extends BaseModule
|
|||
$filename = '';
|
||||
|
||||
$config = DI::config();
|
||||
$lang = DI::session()->get('language');
|
||||
$lang = $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) {
|
||||
|
|
Loading…
Reference in a new issue