forked from GNUsocial/gnu-social
properly cache nulls for pivotGet()
This commit is contained in:
parent
5a132dbef0
commit
e05f423bea
@ -147,7 +147,7 @@ class Memcached_DataObject extends Safe_DataObject
|
|||||||
// save the fact that no such row exists
|
// save the fact that no such row exists
|
||||||
$c = self::memcache();
|
$c = self::memcache();
|
||||||
if (!empty($c)) {
|
if (!empty($c)) {
|
||||||
$ck = self::multicacheKey($cls, $keyCol, $keyVal);
|
$ck = self::multicacheKey($cls, $kv);
|
||||||
$c->set($ck, null);
|
$c->set($ck, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user