Fix `Form::isSubmitted()' for dynamic submit labels

This commit is contained in:
Eric Lippmann 2014-09-19 14:27:04 +02:00
parent 72a9a53201
commit bea110d0c7
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}