Aleksander Machniak
2015-03-13 8eeb721bd69e602137d93b0dfecc33752b078679
Fix unintended DB session expiration - lost variable in refactoring (#1490316)
1 files modified
3 ■■■■ changed files
program/lib/Roundcube/rcube_session_db.php 3 ●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_session_db.php
@@ -143,7 +143,8 @@
     */
    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