diff options
author | Aleksander Machniak <alec@alec.pl> | 2015-03-13 10:28:06 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2015-03-13 10:28:06 +0100 |
commit | 8eeb721bd69e602137d93b0dfecc33752b078679 (patch) | |
tree | aab2d518dc524f3fbaabd5e4bb2685d897a311c3 | |
parent | e4338fdf384f040101be3fad507c16ecb229580a (diff) |
Fix unintended DB session expiration - lost variable in refactoring (#1490316)
-rw-r--r-- | program/lib/Roundcube/rcube_session_db.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 |