rename input param from method message
This commit is contained in:
@ -34,7 +34,7 @@ class FormViewHelper extends ViewHelper
|
|||||||
return $this->view->escape($default);
|
return $this->view->escape($default);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function message($fgrepield)
|
public function message($field)
|
||||||
{
|
{
|
||||||
if (isset($this->data['messages'][$field])) {
|
if (isset($this->data['messages'][$field])) {
|
||||||
return '<span class="error">' . $this->view->escape($this->data['messages'][$field]) . '</span>';
|
return '<span class="error">' . $this->view->escape($this->data['messages'][$field]) . '</span>';
|
||||||
|
Reference in New Issue
Block a user