Memcache::set() 3rd param should be flags (4th is expire). This throws a "2 lowest bytes reserved" error in Memcache > 3.0.3

This commit is contained in:
James Walker 2010-10-21 12:20:14 -04:00
parent cb74822e7a
commit 8ac8f3d2dc

View File

@ -99,7 +99,7 @@ class Status_network_tag extends Safe_DataObject
if (Status_network::$cache) { if (Status_network::$cache) {
$packed = implode('|', $result); $packed = implode('|', $result);
Status_network::$cache->set($key, $packed, 3600); Status_network::$cache->set($key, $packed, 0, 3600);
} }
return $result; return $result;