Was accidentally not saving cached items (doh!)
This commit is contained in:
parent
4f58dbf557
commit
96bcfa4981
@ -218,10 +218,7 @@ class Memcached_DataObject extends DB_DataObject
|
||||
}
|
||||
|
||||
$inst = new $cls();
|
||||
$result = $inst->query($qry);
|
||||
if (!$result) {
|
||||
return $inst;
|
||||
}
|
||||
$inst->query($qry);
|
||||
$cached = array();
|
||||
while ($inst->fetch()) {
|
||||
$cached[] = clone($inst);
|
||||
|
Loading…
Reference in New Issue
Block a user