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; }