diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 83eb67eaf..db1aa4164 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -1095,7 +1095,7 @@ class FormHelper extends AppHelper { $out['error'] = null; if ($type !== 'hidden' && $error !== false) { - $errMsg = $this->error($fieldName, $error); + $errMsg = $this->error($fieldName, null, $error); if ($errMsg) { $divOptions = $this->addClass($divOptions, Hash::get($divOptions, 'errorClass', 'error')); if ($errorMessage) {