diff options
author | Christian Schneider | 2012-01-18 15:53:53 +0000 |
---|---|---|
committer | Christian Schneider | 2012-01-18 15:53:53 +0000 |
commit | a79e11223e6b84ceceab8657218a1b18c9233ed7 (patch) | |
tree | 9ae58f892a7ef7fdbf0e9908852e99b6b1f5df41 | |
parent | 6c1d543ed7b45629cbf2731449506c24f9798b9f (diff) | |
download | itools-a79e11223e6b84ceceab8657218a1b18c9233ed7.tar.gz itools-a79e11223e6b84ceceab8657218a1b18c9233ed7.tar.bz2 itools-a79e11223e6b84ceceab8657218a1b18c9233ed7.zip |
Fix result code of it_cache::put for distributed case (memcache)
-rw-r--r-- | it_cache.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_cache.class b/it_cache.class index a9a6f89..095becc 100644 --- a/it_cache.class +++ b/it_cache.class @@ -72,7 +72,7 @@ static function put($key, $value, $p = array()) if ($p['distributed'] && ($memcache = it_cache::_get_memcache($p))) { - @$memcache->set($key, $value, MEMCACHE_COMPRESSED, $p['ttl']); + $result = @$memcache->set($key, $value, MEMCACHE_COMPRESSED, $p['ttl']); } else { |