Remove un-used variable.

Fixes #2382
This commit is contained in:
mark_story 2011-12-16 23:02:27 -05:00
parent 1f8f2ceacd
commit 78325a13b9

View file

@ -1756,10 +1756,6 @@ class FormHelper extends AppHelper {
unset($attributes['type']);
}
if (!isset($selected)) {
$selected = $attributes['value'];
}
if (!empty($attributes['multiple'])) {
$style = ($attributes['multiple'] === 'checkbox') ? 'checkbox' : null;
$template = ($style) ? 'checkboxmultiplestart' : 'selectmultiplestart';