]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed bug in caching of queries
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 22 Jan 2009 20:16:19 +0000 (20:16 +0000)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 22 Jan 2009 20:16:19 +0000 (20:16 +0000)
classes/Memcached_DataObject.php

index 3ec7613891d14f172ffc2ddc0d4c32fa24f64376..97e1ed736e91cbc56befa6725338d2ef565fcd71 100644 (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);
     }
 }