From 67d374a14f6d727ffafa335c77b67fee5c111b27 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 10 Oct 2019 13:12:55 -0400 Subject: [PATCH] Complete L10n::detectLanguage call parameters in Module\Register --- src/Module/Register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Register.php b/src/Module/Register.php index 1aabb84393..10fd1aefc9 100644 --- a/src/Module/Register.php +++ b/src/Module/Register.php @@ -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); -- 2.39.5