diff options
Diffstat (limited to 'classes/Memcached_DataObject.php')
-rw-r--r-- | classes/Memcached_DataObject.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index 674de9bc5..7a33e158d 100644 --- a/classes/Memcached_DataObject.php +++ b/classes/Memcached_DataObject.php @@ -55,10 +55,10 @@ class Memcached_DataObject extends DB_DataObject } if ($i->find(true)) { $i->encache(); - return $i; } else { - return NULL; + $i = NULL; } + return $i; } } |