Commit bfc04e28 authored by Taylor Otwell's avatar Taylor Otwell

set value in cookie array when cooke is set.

parent fce005d0
......@@ -86,7 +86,9 @@ class Cookie {
$time = ($minutes !== 0) ? time() + ($minutes * 60) : 0;
return setcookie($name, static::sign($name, $value), $time, $path, $domain, $secure);
$_COOKIE[$name] = static::sign($name, $value);
return setcookie($name, $_COOKIE[$name], $time, $path, $domain, $secure);
}
/**
......
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