Update src/Module/Help.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
84e62b5293
commit
ba031e4534
|
@ -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 New Issue
Block a user