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…
Reference in New Issue