Commit 2504f869 by Taylor Otwell

fix cookie bug.

parent 33f34aa4
...@@ -72,7 +72,7 @@ class Cookie { ...@@ -72,7 +72,7 @@ class Cookie {
*/ */
public static function get($name, $default = null) public static function get($name, $default = null)
{ {
if (isset(static::$jar[$name])) return static::$jar[$name]; if (isset(static::$jar[$name])) return static::$jar[$name]['value'];
$value = array_get($_COOKIE, $name); $value = array_get($_COOKIE, $name);
......
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