Commit d3b9d6fb authored by mikeytown2's avatar mikeytown2

Issue #2645648 by mikeytown2: Pass along cache bin name to cache_get.

parent 468c8d4b
......@@ -3542,7 +3542,7 @@ function httprl_call_user_func_array_cache($callback, array $param_arr = array()
$cid = __FUNCTION__ . ':' . drupal_hash_base64(serialize(array($callback, $param_arr)));
}
$cache = cache_get($cid);
$cache = cache_get($cid, $options['bin']);
// Don't use the cache if it's not there or the cached item is older than
// the max cache lifetime.
if (empty($options['return_null_cache_miss']) && (!isset($cache->data) || $cache->created < REQUEST_TIME - $options['cache_lifetime_max'])) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment