diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index f16b2453396..87941ce5fcd 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -1303,7 +1303,7 @@ public function radio($fieldName, $options = array(), $attributes = array()) { if (isset($value) && $optValue == $value) { $optionsHere['checked'] = 'checked'; } - if (!empty($disabled) && (is_bool($disabled) || in_array($optValue, $disabled))) { + if ($disabled && (!is_array($disabled) || in_array($optValue, $disabled))) { $optionsHere['disabled'] = true; } $tagName = Inflector::camelize(