"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:
phpnut 2007-12-03 01:14:06 +00:00
parent 3a58f3cab6
commit 1a223ee7a2

View file

@ -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')));
}