mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
4fa9872969
commit
815c6fb1f5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue