Memcache returns false on cache miss
darcs-hash:20080926164413-5ed1f-d0bbbab5215e43d182e8807fc9fec6cc86dae1ae.gz
This commit is contained in:
parent
98add9803b
commit
92e1c41f63
|
@ -33,7 +33,7 @@ class Memcached_DataObject extends DB_DataObject
|
||||||
unset($i);
|
unset($i);
|
||||||
}
|
}
|
||||||
$i = Memcached_DataObject::getcached($cls, $k, $v);
|
$i = Memcached_DataObject::getcached($cls, $k, $v);
|
||||||
if (!is_null($i)) {
|
if ($i) {
|
||||||
return $i;
|
return $i;
|
||||||
} else {
|
} else {
|
||||||
$i = DB_DataObject::staticGet($cls, $k, $v);
|
$i = DB_DataObject::staticGet($cls, $k, $v);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user