diff --git a/cache_graceful.module b/cache_graceful.module index e2d16bce7efeeee1272b8d06d8e4120c5586e61e..83590c2573a3b5f46a9c223f21ea9ad422742ac9 100755 --- a/cache_graceful.module +++ b/cache_graceful.module @@ -119,7 +119,7 @@ function cache_graceful($key, $args, $table = 'cache', $expire = NULL, $prefetch $update = FALSE; $time = time(); // Get cache - if (($cache = cache_get($key)) && $cache->expire >= $time) { + if (($cache = cache_get($key, $table)) && $cache->expire >= $time) { // watchdog('cache_graceful', 'Cache hit (' . $cache->data['expire'] . ') (' . $time . ')', array(), WATCHDOG_DEBUG); if ($cache->data['expire'] < $time && lock_may_be_available($key)) { // Soft expire, prefetch