Fixed bug in caching of queries

This commit is contained in:
Evan Prodromou 2009-01-22 20:16:19 +00:00
parent 0029ebad11
commit 0642b6aa63

View File

@ -228,6 +228,6 @@ class Memcached_DataObject extends DB_DataObject
}
$inst->free();
$c->set($ckey, $cached, MEMCACHE_COMPRESSED, $expiry);
return ArrayWrapper($cached);
return new ArrayWrapper($cached);
}
}