diff --git a/cake/libs/controller/components/cookie.php b/cake/libs/controller/components/cookie.php index d9e8c6437..524933ec1 100644 --- a/cake/libs/controller/components/cookie.php +++ b/cake/libs/controller/components/cookie.php @@ -279,8 +279,8 @@ class CookieComponent extends Object { if (count($name) > 1) { if (isset($this->__values[$name[0]])) { unset($this->__values[$name[0]][$name[1]]); - $this->__delete("[".$name[0]."][".$name[1]."]"); } + $this->__delete("[".$name[0]."][".$name[1]."]"); } else { if (isset($this->__values[$name[0]])) { if (is_array($this->__values[$name[0]])) {