summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2013-08-27 02:40:01 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2013-08-27 02:42:19 +0200
commit7c8e86010d8c459ebda03c983564c980ccda7124 (patch)
treea400aab3b92a78cf3be6d5475844b295d4e9b2a0 /web
parent69b98efa35d48d794394df938741fdfc342cfb84 (diff)
downloadaur-7c8e86010d8c459ebda03c983564c980ccda7124.tar.gz
aur-7c8e86010d8c459ebda03c983564c980ccda7124.tar.xz
Pick sane default registration language
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 <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web')
-rw-r--r--web/html/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/account.php b/web/html/account.php
index 79b5eeb4..47cf6d27 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);
}
}