Opened 5 years ago

Closed 5 years ago

#1484729 closed Feature Patches (fixed)

Patch : in trunk, user config ($CONFIG) is updated only after a logout/login

Reported by: the_glu Owned by:
Priority: 2 Milestone: 0.1-stable
Component: Core functionality Version: git-master
Severity: normal Keywords:
Cc:

Description

In trunk, we the user save his preferences, they seem updated the first time, but if he re access to the preferences pages, old values are showed. Login/logout fix the problem.

Here is a patch :

--- base-trunk-no-svn/roundcubemail/program/include/rcube_user.inc	2008-01-26 14:04:11.000000000 +0100
+++ trunk/roundcubemail/program/include/rcube_user.inc	2008-01-27 16:34:35.305457365 +0100
@@ -119,6 +119,7 @@
     if ($DB->affected_rows())
     {
       $CONFIG = array_merge($CONFIG, $a_user_prefs);
+      $_SESSION['user_prefs'] = $a_user_prefs;
       return true;
     }

Change History (1)

comment:1 Changed 5 years ago by thomasb

  • Milestone set to 0.1-stable
  • Resolution set to fixed
  • Severity changed from major to normal
  • Status changed from new to closed

Fixed in [adc3e41f]

Note: See TracTickets for help on using tickets.