diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 6258e8234..f16b24533 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -1303,7 +1303,7 @@ class FormHelper extends AppHelper { if (isset($value) && $optValue == $value) { $optionsHere['checked'] = 'checked'; } - if (!empty($disabled) && in_array($optValue, $disabled)) { + if (!empty($disabled) && (is_bool($disabled) || in_array($optValue, $disabled))) { $optionsHere['disabled'] = true; } $tagName = Inflector::camelize(