always return a variable by reference
darcs-hash:20081210233503-84dde-ae7e4acd0d5e42d6d743b545688ad4ad51bc5014.gz
This commit is contained in:
parent
7745917305
commit
be2efe254e
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user