mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 00:34:05 +02:00
QuickForm: prepare elements before onRequest
This commit is contained in:
parent
c98a687ef0
commit
7b07d07d02
@ -272,8 +272,6 @@ abstract class QuickForm extends Zend_Form
|
||||
$this->setRequest($request);
|
||||
}
|
||||
|
||||
$this->prepareElements();
|
||||
|
||||
if ($this->hasBeenSent()) {
|
||||
$post = $this->getRequest()->getPost();
|
||||
if ($this->hasBeenSubmitted()) {
|
||||
@ -366,6 +364,7 @@ abstract class QuickForm extends Zend_Form
|
||||
}
|
||||
|
||||
$this->request = $request;
|
||||
$this->prepareElements();
|
||||
$this->onRequest();
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user