mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 14:24:41 +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()
|
||||
{
|
||||
if ($this->submitLabel !== null) {
|
||||
if ($this->getSubmitLabel()) {
|
||||
return $this->getElement('btn_submit')->isChecked();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user