fix cache::remember method with closures.

This commit is contained in:
Taylor Otwell
2012-01-31 10:43:10 -06:00
parent fd446aec62
commit bd532ee4b0

View File

@@ -74,7 +74,7 @@ abstract class Driver {
{
if ( ! is_null($item = $this->get($key, null))) return $item;
$this->put($key, value($default), $minutes);
$this->put($key, $default = value($default), $minutes);
return $default;
}