summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2015-03-13 10:28:06 +0100
committerAleksander Machniak <alec@alec.pl>2015-03-13 10:28:06 +0100
commit8eeb721bd69e602137d93b0dfecc33752b078679 (patch)
treeaab2d518dc524f3fbaabd5e4bb2685d897a311c3 /program/lib/Roundcube
parente4338fdf384f040101be3fad507c16ecb229580a (diff)
Fix unintended DB session expiration - lost variable in refactoring (#1490316)
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r--program/lib/Roundcube/rcube_session_db.php3
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