fix cookie bug.

This commit is contained in:
Taylor Otwell 2012-02-01 11:02:12 -06:00
parent 33f34aa479
commit 2504f8693f
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public static function send()
*/ */
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);