diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-01-27 20:21:50 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-01-27 20:21:50 +0100 |
commit | 0654403aaac9c642074529b319eba182d3dcdde0 (patch) | |
tree | 65eb1e39cfd3d979840a079a157d696070f1c0c1 /system/libraries/Cache | |
parent | 85facfa42793cce480d2f49696c2d3e3096763f0 (diff) | |
parent | 0c4fb6a578d23e5a0fa5c8ce41a75d2b2b1310e7 (diff) |
Merge upstream branch
Diffstat (limited to 'system/libraries/Cache')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_apc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/libraries/Cache/drivers/Cache_apc.php b/system/libraries/Cache/drivers/Cache_apc.php index 93993d07a..a3dd46978 100644 --- a/system/libraries/Cache/drivers/Cache_apc.php +++ b/system/libraries/Cache/drivers/Cache_apc.php @@ -68,6 +68,7 @@ class CI_Cache_apc extends CI_Driver { */ public function save($id, $data, $ttl = 60) { + $ttl = (int) $ttl; return apc_store($id, array($data, time(), $ttl), $ttl); } |