From a79e11223e6b84ceceab8657218a1b18c9233ed7 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 18 Jan 2012 15:53:53 +0000 Subject: Fix result code of it_cache::put for distributed case (memcache) --- it_cache.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_cache.class') 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 { -- cgit v1.2.3