mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
Fix `Form::isSubmitted()' for dynamic submit labels
This commit is contained in:
parent
72a9a53201
commit
bea110d0c7
@ -543,7 +543,7 @@ class Form extends Zend_Form
|
|||||||
*/
|
*/
|
||||||
public function isSubmitted()
|
public function isSubmitted()
|
||||||
{
|
{
|
||||||
if ($this->submitLabel !== null) {
|
if ($this->getSubmitLabel()) {
|
||||||
return $this->getElement('btn_submit')->isChecked();
|
return $this->getElement('btn_submit')->isChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user