From 8c2b883bf07e5686915f1ec8d1c746e39ad91e32 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 11 Nov 2011 12:12:28 +0000 Subject: Fix: decode session data into superglobals after re-reading --- program/include/rcube_session.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'program/include/rcube_session.php') 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); } -- cgit v1.2.3