[Svn] r5414 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Fri Nov 11 13:12:28 CET 2011


Author: thomasb
Date: 2011-11-11 06:12:28 -0600 (Fri, 11 Nov 2011)
New Revision: 5414

Modified:
   trunk/roundcubemail/program/include/rcube_session.php
Log:
Fix: decode session data into superglobals after re-reading

Modified: trunk/roundcubemail/program/include/rcube_session.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_session.php	2011-11-11 09:01:03 UTC (rev 5413)
+++ trunk/roundcubemail/program/include/rcube_session.php	2011-11-11 12:12:28 UTC (rev 5414)
@@ -399,9 +399,12 @@
   public function reload()
   {
     if ($this->key && $this->memcache)
-      $this->mc_read($this->key);
+      $data = $this->mc_read($this->key);
     else if ($this->key)
-      $this->db_read($this->key);
+      $data = $this->db_read($this->key);
+
+    if ($data)
+     session_decode($data);
   }
 
 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list