name all form field
This commit is contained in:
@@ -90,8 +90,10 @@ class Form implements SmartyPluginInterface
|
||||
$instance = $this->getInstance($params['name']);
|
||||
$form = $instance->getForm();
|
||||
|
||||
if (true === $this->request->getSession()->get("form_error", false) && $this->request->getSession()->get
|
||||
("form_name") == $instance->getName()) {
|
||||
if (
|
||||
true === $this->request->getSession()->get("form_error", false) &&
|
||||
$this->request->getSession()->get("form_name") == $instance->getName())
|
||||
{
|
||||
$form->bind($this->request);
|
||||
$this->request->getSession()->set("form_error", false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user