Removing 'showParents' attribute from FormHelper::select() output (Ticket #2134)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4530 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-02-17 16:56:25 +00:00
parent c8da214170
commit 0e7fd21a8e

View file

@ -614,6 +614,7 @@ class FormHelper extends AppHelper {
}
if (in_array('showParents', $attributes)) {
$showParents = true;
unset($attributes['showParents']);
}
if (!isset($selected)) {