From 8eeb721bd69e602137d93b0dfecc33752b078679 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 13 Mar 2015 10:28:06 +0100 Subject: Fix unintended DB session expiration - lost variable in refactoring (#1490316) --- program/lib/Roundcube/rcube_session_db.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'program/lib/Roundcube') diff --git a/program/lib/Roundcube/rcube_session_db.php b/program/lib/Roundcube/rcube_session_db.php index 4d94f43ff..a814c2b9b 100644 --- a/program/lib/Roundcube/rcube_session_db.php +++ b/program/lib/Roundcube/rcube_session_db.php @@ -143,7 +143,8 @@ class rcube_session_db extends rcube_session */ public function update($key, $newvars, $oldvars) { - $now = $this->db->now(); + $now = $this->db->now(); + $ts = microtime(true); // if new and old data are not the same, update data // else update expire timestamp only when certain conditions are met -- cgit v1.2.3