mirror of
https://github.com/friendica/friendica
synced 2024-11-19 09:43:45 +00:00
Merge pull request #10986 from annando/issue-10983
Issue 10983: Use the user's settings for the help language
This commit is contained in:
commit
877b90f7f0
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue