mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
Disable checking whether a form is sent when form identification is disabled
refs #5525
This commit is contained in:
parent
34bbe6508a
commit
c8ce1088c9
@ -490,7 +490,7 @@ class Form extends Zend_Form
|
|||||||
}
|
}
|
||||||
|
|
||||||
$formData = $this->getRequestData($request);
|
$formData = $this->getRequestData($request);
|
||||||
if ($this->wasSent($formData)) {
|
if ($this->getUidDisabled() || $this->wasSent($formData)) {
|
||||||
$this->populate($formData); // Necessary to get isSubmitted() to work
|
$this->populate($formData); // Necessary to get isSubmitted() to work
|
||||||
if (! $this->getSubmitLabel() || $this->isSubmitted()) {
|
if (! $this->getSubmitLabel() || $this->isSubmitted()) {
|
||||||
if ($this->isValid($formData)
|
if ($this->isValid($formData)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user