Fixes #4997 CookieComponent write multiple values doesn't not obey $encrypt

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7291 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2008-06-27 07:14:55 +00:00
parent 4fa9872969
commit 815c6fb1f5

View file

@ -223,6 +223,7 @@ class CookieComponent extends Object {
}
}
}
$this->__encrypted = true;
}
/**
* Read the value of the $_COOKIE[$key];
@ -365,7 +366,6 @@ class CookieComponent extends Object {
$this->__expires = $this->__reset;
$this->__reset = null;
}
$this->__encrypted = true;
}
/**
* Sets a cookie expire time to remove cookie value