[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaNotification: render "to" after object name

git at icinga.org git at icinga.org
Fri Jun 10 12:45:10 CEST 2016


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

Author: Thomas Gelf <thomas at gelf.net>
Date:   Fri Jun 10 12:43:58 2016 +0200

IcingaNotification: render "to" after object name

fixes #11924

---

 library/Director/Objects/IcingaNotification.php |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/library/Director/Objects/IcingaNotification.php b/library/Director/Objects/IcingaNotification.php
index 8efb6f1..cdd834b 100644
--- a/library/Director/Objects/IcingaNotification.php
+++ b/library/Director/Objects/IcingaNotification.php
@@ -136,11 +136,11 @@ class IcingaNotification extends IcingaObject
             }
 
             return sprintf(
-                "%s %s to %s %s {\n",
+                "%s %s %s to %s {\n",
                 $this->getObjectTypeName(),
                 $this->getType(),
-                ucfirst($to),
-                c::renderString($this->getObjectName())
+                c::renderString($this->getObjectName()),
+                ucfirst($to)
             );
 
         } else {



More information about the icinga-checkins mailing list