From 0ac7c0f44832e7bdf982723d939dbb98a56486ef Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 11 Oct 2016 14:36:07 +0000 Subject: [PATCH] IcingaServiceForm: fix setting submit label --- application/forms/IcingaServiceForm.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/forms/IcingaServiceForm.php b/application/forms/IcingaServiceForm.php index 8ae9a819..0334d57e 100644 --- a/application/forms/IcingaServiceForm.php +++ b/application/forms/IcingaServiceForm.php @@ -93,7 +93,8 @@ class IcingaServiceForm extends DirectorObjectForm ); $this->addHtmlHint($msg); - $this->setButtons()->setSubmitLabel( + $this->setButtons(); + $this->setSubmitLabel( $this->translate('Override vars') ); }