[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaServiceForm: fix setting submit label

git at icinga.org git at icinga.org
Tue Oct 11 16:36:28 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: 0ac7c0f44832e7bdf982723d939dbb98a56486ef
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=0ac7c0f44832e7bdf982723d939dbb98a56486ef

Author: Thomas Gelf <thomas at gelf.net>
Date:   Tue Oct 11 14:36:07 2016 +0000

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 8ae9a81..0334d57 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')
         );
     }



More information about the icinga-checkins mailing list