From: James Walker Date: Thu, 21 Oct 2010 16:20:14 +0000 (-0400) Subject: Memcache::set() 3rd param should be flags (4th is expire). This throws a "2 lowest... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8ac8f3d2dc95a437dea7dec2d26f09a364734a9b;p=quix0rs-gnu-social.git Memcache::set() 3rd param should be flags (4th is expire). This throws a "2 lowest bytes reserved" error in Memcache > 3.0.3 --- diff --git a/classes/Status_network_tag.php b/classes/Status_network_tag.php index a5893c1141..3398ac8c84 100644 --- a/classes/Status_network_tag.php +++ b/classes/Status_network_tag.php @@ -99,7 +99,7 @@ class Status_network_tag extends Safe_DataObject if (Status_network::$cache) { $packed = implode('|', $result); - Status_network::$cache->set($key, $packed, 3600); + Status_network::$cache->set($key, $packed, 0, 3600); } return $result;