mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
Adding fix to allow multiple forms when using SecurityComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4985 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
c3370e42f6
commit
7fce78e73f
1 changed files with 1 additions and 0 deletions
|
@ -693,6 +693,7 @@ class FormHelper extends AppHelper {
|
||||||
$secured = null;
|
$secured = null;
|
||||||
if(isset($this->params['_Token']) && !empty($this->params['_Token'])) {
|
if(isset($this->params['_Token']) && !empty($this->params['_Token'])) {
|
||||||
$secured = $this->secure($this->fields);
|
$secured = $this->secure($this->fields);
|
||||||
|
$this->fields = array();
|
||||||
}
|
}
|
||||||
$div = true;
|
$div = true;
|
||||||
if (isset($options['div'])) {
|
if (isset($options['div'])) {
|
||||||
|
|
Loading…
Reference in a new issue