From: Evan Prodromou Date: Thu, 22 Jan 2009 20:16:19 +0000 (+0000) Subject: Fixed bug in caching of queries X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0642b6aa634bc37f86fd54441a3c8358e8da1284;p=quix0rs-gnu-social.git Fixed bug in caching of queries --- 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); } }