From 5cfca894c1c891dec0f96eb2d86aefdea1ff1ec5 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 1 Oct 2016 15:55:56 +0200 Subject: [PATCH] On registration use the browser preferred language for the new account --- mod/register.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/register.php b/mod/register.php index 6fc5887ef5..4f5652f2f7 100644 --- a/mod/register.php +++ b/mod/register.php @@ -52,6 +52,7 @@ function register_post(&$a) { $arr['blocked'] = $blocked; $arr['verified'] = $verified; + $arr['language'] = get_browser_language(); $result = create_user($arr); -- 2.39.5