Ticket #1484729 (closed Patches: fixed)

Opened 12 months ago

Last modified 11 months ago

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: svn-trunk
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

Changed 11 months ago by thomasb

  • status changed from new to closed
  • resolution set to fixed
  • severity changed from major to normal
  • milestone set to 0.1-stable

Fixed in r997

Note: See TracTickets for help on using tickets.