diff options
author | Andrey Andreev <narf@bofh.bg> | 2013-02-19 23:22:00 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2013-02-19 23:22:00 +0100 |
commit | 00c32018a8ab50573cd0a627081fda7618075b4d (patch) | |
tree | 812665180985ee7a6b3813d1eb5cf168946fa53b /system/libraries | |
parent | a1ff8b3c0ed9d5315cd4c22e5878d057204d9378 (diff) | |
parent | f8e2d0ed10018f81db5814d421dbafbe6d0834e4 (diff) |
Merge pull request #2267 from dionysiosarvanitis/fix/_update_db
Issue #2086 Session_cookie's _update_db not guaranteed to update
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Session/drivers/Session_cookie.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/libraries/Session/drivers/Session_cookie.php b/system/libraries/Session/drivers/Session_cookie.php index 11bb32fe0..057e5a1d1 100644 --- a/system/libraries/Session/drivers/Session_cookie.php +++ b/system/libraries/Session/drivers/Session_cookie.php @@ -602,6 +602,9 @@ class CI_Session_cookie extends CI_Session_driver { $set['user_data'] = $this->_serialize($userdata); } + // Reset query builder values. + $this->CI->db->reset_query(); + // Run the update query // Any time we change the session id, it gets updated immediately, // so our where clause below is always safe |