diff --git a/cake/libs/view/helpers/html.php b/cake/libs/view/helpers/html.php index e503d7dc5..6ccf14000 100644 --- a/cake/libs/view/helpers/html.php +++ b/cake/libs/view/helpers/html.php @@ -693,7 +693,7 @@ class HtmlHelper extends AppHelper { } } else { $model = $this->model(); - if (isset($htmlAttributes['value']) || (!class_exists($model) && !loadModel($model))) { + if (isset($htmlAttributes['value']) || (!class_exists($model) && !App::import('Model', $model))) { if (isset($htmlAttributes['value']) && $htmlAttributes['value'] == $value) { $htmlAttributes['checked'] = 'checked'; } else {