summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-18 15:54:51 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-18 15:54:51 +0100
commitb2a0e70585367e59bf2d106629c0e9c3ab1370c2 (patch)
tree4ef1a067de7ca43ebf3b50b28f4e69f691e58243
parenta00be04885c351f3e6e049a544444bc1c476d2fe (diff)
Fix #2825
-rw-r--r--system/libraries/Cache/drivers/Cache_memcached.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_memcached.php b/system/libraries/Cache/drivers/Cache_memcached.php
index 886357e57..d59847752 100644
--- a/system/libraries/Cache/drivers/Cache_memcached.php
+++ b/system/libraries/Cache/drivers/Cache_memcached.php
@@ -85,7 +85,7 @@ class CI_Cache_memcached extends CI_Driver {
{
if ($raw !== TRUE)
{
- $data = array($data, time, $ttl);
+ $data = array($data, time(), $ttl);
}
if (get_class($this->_memcached) === 'Memcached')