mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
"Fixes #3618, Form::select don't call Form::_ _secure if option \"multiple\" is set"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6113 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
3a58f3cab6
commit
1a223ee7a2
1 changed files with 1 additions and 1 deletions
|
@ -1028,10 +1028,10 @@ class FormHelper extends AppHelper {
|
|||
}
|
||||
} else {
|
||||
$tag = $this->Html->tags['selectstart'];
|
||||
$this->__secure();
|
||||
}
|
||||
|
||||
if (!empty($tag)) {
|
||||
$this->__secure();
|
||||
$select[] = sprintf($tag, $attributes['name'], $this->_parseAttributes($attributes, array('name', 'value')));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue