On registration use the browser preferred language for the new account

This commit is contained in:
Tobias Diekershoff 2016-10-01 15:55:56 +02:00
parent 7aa4f5297d
commit 5cfca894c1
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ function register_post(&$a) {
$arr['blocked'] = $blocked;
$arr['verified'] = $verified;
$arr['language'] = get_browser_language();
$result = create_user($arr);