another false-for-error

darcs-hash:20080926164532-5ed1f-1ed3922f205dea0805c7a77618fdf8c9e1a4de02.gz
This commit is contained in:
Evan Prodromou 2008-09-26 12:45:32 -04:00
parent 92e1c41f63
commit 85c0d71e1f

View File

@ -37,7 +37,7 @@ class Memcached_DataObject extends DB_DataObject
return $i; return $i;
} else { } else {
$i = DB_DataObject::staticGet($cls, $k, $v); $i = DB_DataObject::staticGet($cls, $k, $v);
if (!is_null($i)) { if ($i) {
$i->encache(); $i->encache();
} }
return $i; return $i;