Don't override submit label in the ConfirmRemovalForm

This commit is contained in:
Eric Lippmann 2015-05-19 17:25:48 +02:00
parent 5a69c26d2c
commit bd54784496
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,6 @@ class ConfirmRemovalForm extends Form
public function init()
{
$this->setName('form_confirm_removal');
$this->setSubmitLabel($this->translate('Confirm Removal'));
$this->getSubmitLabel() ?: $this->setSubmitLabel($this->translate('Confirm Removal'));
}
}