diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 9e4d7cc71..f88b1f089 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -1520,11 +1520,7 @@ class FormHelper extends AppHelper { ); if ($label) { - if (is_array($label)) { - $optTitle = $this->label($tagName, $optTitle, $label); - } else { - $optTitle = $this->Html->useTag('label', $tagName, '', $optTitle); - } + $optTitle = $this->label($tagName, $optTitle, is_array($label) ? $label : null); } if (is_array($between)) {