1
1
Fork 0

Update src/Module/Help.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2021-11-16 07:36:20 +01:00 committed by GitHub
parent 84e62b5293
commit ba031e4534
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {