summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-26 12:45:32 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-26 12:45:32 -0400
commit85c0d71e1f5733f6dcd7616a2f0829bf333f9751 (patch)
tree96b831232229e664192f7473e96178060facba07
parent92e1c41f636e5c22bc6a452872aae3b02a2f8f1c (diff)
another false-for-error
darcs-hash:20080926164532-5ed1f-1ed3922f205dea0805c7a77618fdf8c9e1a4de02.gz
-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;