diff --git a/form/FormViewHelper.php b/form/FormViewHelper.php index b87487d..60dcb77 100644 --- a/form/FormViewHelper.php +++ b/form/FormViewHelper.php @@ -34,7 +34,7 @@ class FormViewHelper extends ViewHelper return $this->view->escape($default); } - public function message($fgrepield) + public function message($field) { if (isset($this->data['messages'][$field])) { return '' . $this->view->escape($this->data['messages'][$field]) . '';