Complete L10n::detectLanguage call parameters in Module\Register
This commit is contained in:
parent
57a749af38
commit
67d374a14f
|
@ -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