summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-01-19 09:54:21 +0100
committerAndrey Andreev <narf@devilix.net>2015-01-19 09:54:21 +0100
commitc33c3adff7d0c36208fa9c3a1dc364fa7f23f07d (patch)
tree4026e62558097d6a30bf243861a04355c0ca5c62 /system/libraries
parent5231d3267269d7fd8e84b1faf637cef3ba2f1dec (diff)
feature/session (#3073): Fix non-existing variable error
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Session/drivers/Session_database_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_database_driver.php b/system/libraries/Session/drivers/Session_database_driver.php
index e27c96595..055a1a613 100644
--- a/system/libraries/Session/drivers/Session_database_driver.php
+++ b/system/libraries/Session/drivers/Session_database_driver.php
@@ -200,7 +200,7 @@ class CI_Session_database_driver extends CI_Session_driver implements SessionHan
$this->_db->where('ip_address', $_SERVER['REMOTE_ADDR']);
}
- $update_data = array('timestamp' => $time);
+ $update_data = array('timestamp' => time());
if ($this->_fingerprint !== md5($session_data))
{
$update_data['data'] = ($this->_platform === 'postgre')