From: Evan Prodromou Date: Fri, 26 Sep 2008 16:45:32 +0000 (-0400) Subject: another false-for-error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85c0d71e1f5733f6dcd7616a2f0829bf333f9751;p=quix0rs-gnu-social.git another false-for-error darcs-hash:20080926164532-5ed1f-1ed3922f205dea0805c7a77618fdf8c9e1a4de02.gz --- 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;