diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-22 20:16:19 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-22 20:16:19 +0000 |
commit | 0642b6aa634bc37f86fd54441a3c8358e8da1284 (patch) | |
tree | d2ea354e0651465efc1264f42c552f38e1e52a01 /classes | |
parent | 0029ebad111fd929936698d843556701df0f348c (diff) |
Fixed bug in caching of queries
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Memcached_DataObject.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index 3ec761389..97e1ed736 100644 --- a/classes/Memcached_DataObject.php +++ b/classes/Memcached_DataObject.php @@ -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); } } |