1
1
Fork 0

Complete L10n::detectLanguage call parameters in Module\Register

This commit is contained in:
Hypolite Petovan 2019-10-10 13:12:55 -04:00
parent 57a749af38
commit 67d374a14f

View file

@ -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);