diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index 03067aba75..ca5c693891 100644 --- a/classes/Memcached_DataObject.php +++ b/classes/Memcached_DataObject.php @@ -37,7 +37,7 @@ class Memcached_DataObject extends DB_DataObject return $i; } else { $i = DB_DataObject::staticGet($cls, $k, $v); - if (!is_null($i)) { + if ($i) { $i->encache(); } return $i;