From 0642b6aa634bc37f86fd54441a3c8358e8da1284 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 22 Jan 2009 20:16:19 +0000 Subject: [PATCH] Fixed bug in caching of queries --- classes/Memcached_DataObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index 3ec7613891..97e1ed736e 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); } } -- 2.39.5