Disable checking whether a form is sent when form identification is disabled

refs #5525
This commit is contained in:
Johannes Meyer 2014-09-09 09:30:33 +02:00
parent 34bbe6508a
commit c8ce1088c9
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ class Form extends Zend_Form
}
$formData = $this->getRequestData($request);
if ($this->wasSent($formData)) {
if ($this->getUidDisabled() || $this->wasSent($formData)) {
$this->populate($formData); // Necessary to get isSubmitted() to work
if (! $this->getSubmitLabel() || $this->isSubmitted()) {
if ($this->isValid($formData)