mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Adding fix for #2012
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4404 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
9b28c2ed27
commit
9751f8549b
1 changed files with 1 additions and 1 deletions
|
@ -686,7 +686,7 @@ class HtmlHelper extends AppHelper {
|
|||
|
||||
if (($selected != null) && ($selected == $name)) {
|
||||
$optionsHere['selected'] = 'selected';
|
||||
} else if(is_array($selected) && in_array($title, $selected)) {
|
||||
} else if(is_array($selected) && in_array($name, $selected)) {
|
||||
$optionsHere['selected'] = 'selected';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue