From 629122a5a965b0734251494f54ce57fac0e8f09e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 6 Jul 2011 11:24:14 -0700 Subject: [PATCH] Remove usage of Arr from Cookie class. --- system/cookie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/cookie.php b/system/cookie.php index 3b01226f2..90dacc4da 100644 --- a/system/cookie.php +++ b/system/cookie.php @@ -107,7 +107,7 @@ class Cookie { */ public static function get($name, $default = null) { - return Arr::get($_COOKIE, $name, $default); + return (array_key_exists($name, $_COOKIE)) ? $_COOKIE[$name] : $default; } /**