Browse Source

rename input param from method message

master
Vyacheslav Agafonov 13 years ago
parent
commit
90146d3924
  1. 2
      form/FormViewHelper.php

2
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 '<span class="error">' . $this->view->escape($this->data['messages'][$field]) . '</span>';

Loading…
Cancel
Save