From 85c0d71e1f5733f6dcd7616a2f0829bf333f9751 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 26 Sep 2008 12:45:32 -0400 Subject: [PATCH] another false-for-error darcs-hash:20080926164532-5ed1f-1ed3922f205dea0805c7a77618fdf8c9e1a4de02.gz --- classes/Memcached_DataObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5