fix cookie bug.
This commit is contained in:
parent
33f34aa479
commit
2504f8693f
|
@ -72,7 +72,7 @@ public static function send()
|
|||
*/
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue