Browse Source

Remove usage of Arr from Cookie class.

Taylor Otwell 13 years ago
parent
commit
629122a5a9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/cookie.php

+ 1 - 1
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;
 	}
 
 	/**