diff --git a/system/cache/driver/apc.php b/system/cache/driver/apc.php index 195aa0ad..93803045 100644 --- a/system/cache/driver/apc.php +++ b/system/cache/driver/apc.php @@ -38,7 +38,7 @@ class APC implements \System\Cache\Driver { if ($cache === false) { - return $default; + return is_callable($default) ? call_user_func($default) : $default; } return $this->items[$key] = $cache;