summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/Memcached_DataObject.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php
index 03067aba7..ca5c69389 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;