mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
"Fixed typo in [4221]"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4225 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
93f7a48a2a
commit
90f6c38614
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ class HtmlHelper extends AppHelper {
|
|||
$notCheckedValue = -1;
|
||||
}
|
||||
} else {
|
||||
if (isset($htmlAttributes['value']) || (!class_exists($this->model) && !loadModel($this->model))) {
|
||||
if (isset($htmlAttributes['value']) || (!class_exists($this->model()) && !loadModel($this->model()))) {
|
||||
$htmlAttributes['checked'] = ($htmlAttributes['value'] == $value) ? 'checked' : null;
|
||||
|
||||
if ($htmlAttributes['value'] == '0') {
|
||||
|
|
Loading…
Reference in a new issue