mirror of
https://github.com/friendica/friendica
synced 2024-12-23 15:20:17 +00:00
Complete L10n::detectLanguage call parameters in Module\Register
This commit is contained in:
parent
57a749af38
commit
67d374a14f
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ class Register extends BaseModule
|
|||
|
||||
$arr['blocked'] = $blocked;
|
||||
$arr['verified'] = $verified;
|
||||
$arr['language'] = L10nClass::detectLanguage($a->getConfig()->get('system', 'language'));
|
||||
$arr['language'] = L10nClass::detectLanguage($_SERVER, $_GET, $a->getConfig()->get('system', 'language'));
|
||||
|
||||
try {
|
||||
$result = Model\User::create($arr);
|
||||
|
|
Loading…
Reference in a new issue