summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-11-11 12:12:28 +0000
committerthomascube <thomas@roundcube.net>2011-11-11 12:12:28 +0000
commit8c2b883bf07e5686915f1ec8d1c746e39ad91e32 (patch)
tree0a2626fd4a206b59b2c7ca1314629bed3d2fe894
parent710b1bd68465ad919aabd171f1ab597a192c367b (diff)
Fix: decode session data into superglobals after re-reading
-rw-r--r--program/include/rcube_session.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php
index 22aa55016..7c6097392 100644
--- a/program/include/rcube_session.php
+++ b/program/include/rcube_session.php
@@ -399,9 +399,12 @@ class rcube_session
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);
}