aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/subsilver2/template/ucp_agreement.html
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/styles/subsilver2/template/ucp_agreement.html')
-rw-r--r--phpBB/styles/subsilver2/template/ucp_agreement.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/styles/subsilver2/template/ucp_agreement.html b/phpBB/styles/subsilver2/template/ucp_agreement.html
index 054d25282f..3afe6e89a0 100644
--- a/phpBB/styles/subsilver2/template/ucp_agreement.html
+++ b/phpBB/styles/subsilver2/template/ucp_agreement.html
@@ -10,6 +10,7 @@
*/
function change_language(lang_iso)
{
+ document.cookie = '{COOKIE_NAME}_lang=' + lang_iso + '; path={COOKIE_PATH}';
document.forms['register'].change_lang.value = lang_iso;
document.forms['register'].submit();
}