From 90f6c38614155111bc41b0ce95aa7df7469dd0c5 Mon Sep 17 00:00:00 2001 From: phpnut Date: Thu, 28 Dec 2006 07:28:43 +0000 Subject: [PATCH] "Fixed typo in [4221]" git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4225 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/helpers/html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/view/helpers/html.php b/cake/libs/view/helpers/html.php index 9ede3cfab..daad131a5 100644 --- a/cake/libs/view/helpers/html.php +++ b/cake/libs/view/helpers/html.php @@ -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') {