summaryrefslogtreecommitdiff
path: root/edituser.php
diff options
context:
space:
mode:
Diffstat (limited to 'edituser.php')
-rw-r--r--edituser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/edituser.php b/edituser.php
index 4edb695f20..376ff60147 100644
--- a/edituser.php
+++ b/edituser.php
@@ -76,9 +76,9 @@ if ($form_action=='update') {
setUserFullName(WT_USER_ID, $form_realname);
setUserEmail (WT_USER_ID, $form_email);
set_user_setting(WT_USER_ID, 'theme', $form_theme);
- $_SESSION['theme_dir']=$form_theme; // switch to the new theme right away
+ $WT_SESSION->theme_dir=$form_theme; // switch to the new theme right away
set_user_setting(WT_USER_ID, 'language', $form_language);
- $_SESSION['locale']=$form_language; // switch to the new language right away
+ $WT_SESSION->locale=$form_language; // switch to the new language right away
set_user_setting(WT_USER_ID, 'contactmethod', $form_contact_method);
set_user_setting(WT_USER_ID, 'visibleonline', $form_visible_online);
set_user_gedcom_setting(WT_USER_ID, WT_GED_ID, 'rootid', $form_rootid);