diff --git a/src/Module/Help.php b/src/Module/Help.php index f85fd10a7..05cce5cc5 100644 --- a/src/Module/Help.php +++ b/src/Module/Help.php @@ -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) {