summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-22 20:16:19 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-22 20:16:19 +0000
commit0642b6aa634bc37f86fd54441a3c8358e8da1284 (patch)
treed2ea354e0651465efc1264f42c552f38e1e52a01 /classes
parent0029ebad111fd929936698d843556701df0f348c (diff)
Fixed bug in caching of queries
Diffstat (limited to 'classes')
-rw-r--r--classes/Memcached_DataObject.php2
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);
}
}