From 7c8e86010d8c459ebda03c983564c980ccda7124 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 27 Aug 2013 02:40:01 +0200 Subject: Pick sane default registration language MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of defaulting to CatalĂ  (which is the first entry in the list of supported languages), choose whatever language the unregistered user is browsing the AUR in. Fixes FS#34825. Suggested-by: canyonknight Signed-off-by: Lukas Fleischer --- web/html/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') diff --git a/web/html/account.php b/web/html/account.php index 79b5eeb..47cf6d2 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -113,7 +113,7 @@ if (isset($_COOKIE["AURSID"])) { # display the account request form # print __("Use this form to create an account."); - display_account_form("", "NewAccount"); + display_account_form("", "NewAccount", "", "", "", "", "", "", "", $LANG); } } -- cgit v1.2.3-54-g00ecf