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();
|
$inst = new $cls();
|
||||||
$result = $inst->query($qry);
|
$inst->query($qry);
|
||||||
if (!$result) {
|
|
||||||
return $inst;
|
|
||||||
}
|
|
||||||
$cached = array();
|
$cached = array();
|
||||||
while ($inst->fetch()) {
|
while ($inst->fetch()) {
|
||||||
$cached[] = clone($inst);
|
$cached[] = clone($inst);
|
||||||
|
Loading…
Reference in New Issue
Block a user