[-] Classes : fixed cachefs and memcache classes #PSCFV-5225 thanks @prestalab

This commit is contained in:
gRoussac
2013-07-11 18:27:54 +02:00
parent 293d1afbc7
commit a5ee2c2f4f
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ abstract class CacheCore
*/
public function set($key, $value, $ttl = 0)
{
if ($this->_set($key, $value))
if ($this->_set($key, $value, $ttl))
{
if ($ttl < 0)
$ttl = 0;