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['blocked'] = $blocked;
|
||||||
$arr['verified'] = $verified;
|
$arr['verified'] = $verified;
|
||||||
$arr['language'] = L10nClass::detectLanguage($a->getConfig()->get('system', 'language'));
|
$arr['language'] = L10nClass::detectLanguage($_SERVER, $_GET, $a->getConfig()->get('system', 'language'));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$result = Model\User::create($arr);
|
$result = Model\User::create($arr);
|
||||||
|
|
Loading…
Reference in a new issue