]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
another false-for-error
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:45:32 +0000 (12:45 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:45:32 +0000 (12:45 -0400)
darcs-hash:20080926164532-5ed1f-1ed3922f205dea0805c7a77618fdf8c9e1a4de02.gz

classes/Memcached_DataObject.php

index 03067aba75e61131c3102cf1d855d31149c3faf8..ca5c69389194bb97b405062be08ba4ffcf02ffd2 100644 (file)
@@ -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;