From 90146d39240a2d526accd09c8317fcfed5849e12 Mon Sep 17 00:00:00 2001 From: Vyacheslav Agafonov Date: Mon, 28 Nov 2011 16:32:05 +0400 Subject: [PATCH] rename input param from method message --- form/FormViewHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) . '';