]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
properly cache nulls for pivotGet()
authorEvan Prodromou <evan@status.net>
Tue, 2 Aug 2011 15:54:10 +0000 (11:54 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 2 Aug 2011 15:54:10 +0000 (11:54 -0400)
classes/Memcached_DataObject.php

index ec36079c1c7a92a46b43fe69f4cbcbc9d1bcab5f..9c92003e5c1ec505afcd4ce1d64b1352faf5289a 100644 (file)
@@ -147,7 +147,7 @@ class Memcached_DataObject extends Safe_DataObject
                        // save the fact that no such row exists
                        $c = self::memcache();
                        if (!empty($c)) {
-                       $ck = self::multicacheKey($cls, $keyCol, $keyVal);
+                       $ck = self::multicacheKey($cls, $kv);
                        $c->set($ck, null);
                        }       
                        }