summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/Memcached_DataObject.php4
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;
}
}