Skip to content

Commit

Permalink
Fix `Form::isSubmitted()' for dynamic submit labels
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed Sep 19, 2014
1 parent 72a9a53 commit bea110d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Icinga/Web/Form.php
Expand Up @@ -543,7 +543,7 @@ public function handleRequest(Request $request = null)
*/
public function isSubmitted()
{
if ($this->submitLabel !== null) {
if ($this->getSubmitLabel()) {
return $this->getElement('btn_submit')->isChecked();
}

Expand Down

0 comments on commit bea110d

Please sign in to comment.