mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
c8da214170
commit
0e7fd21a8e
1 changed files with 1 additions and 0 deletions
|
@ -614,6 +614,7 @@ class FormHelper extends AppHelper {
|
|||
}
|
||||
if (in_array('showParents', $attributes)) {
|
||||
$showParents = true;
|
||||
unset($attributes['showParents']);
|
||||
}
|
||||
|
||||
if (!isset($selected)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue