Was accidentally not saving cached items (doh!)

This commit is contained in:
Evan Prodromou 2009-01-22 20:51:05 +00:00
parent 4f58dbf557
commit 96bcfa4981

View File

@ -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);