always return a variable by reference

darcs-hash:20081210233503-84dde-ae7e4acd0d5e42d6d743b545688ad4ad51bc5014.gz
This commit is contained in:
Evan Prodromou 2008-12-10 18:35:03 -05:00
parent 7745917305
commit be2efe254e

View File

@ -55,10 +55,10 @@ class Memcached_DataObject extends DB_DataObject
} }
if ($i->find(true)) { if ($i->find(true)) {
$i->encache(); $i->encache();
return $i;
} else { } else {
return NULL; $i = NULL;
} }
return $i;
} }
} }