From ad09b910ee27fadc0c3bcfe94c94ecc0c65dfd7f Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 12 Feb 2012 10:09:25 -0500 Subject: [PATCH] Remove pointless comparison. --- lib/Cake/Controller/Component/CookieComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Controller/Component/CookieComponent.php b/lib/Cake/Controller/Component/CookieComponent.php index 3abb24ddc..c3c382eda 100644 --- a/lib/Cake/Controller/Component/CookieComponent.php +++ b/lib/Cake/Controller/Component/CookieComponent.php @@ -484,7 +484,7 @@ class CookieComponent extends Component { */ protected function _explode($string) { $first = substr($string, 0, 1); - if ($first !== false && $first === '{' || $first === '[') { + if ($first === '{' || $first === '[') { $ret = json_decode($string, true); return ($ret != null) ? $ret : $string; }