[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaObject: fix c&p error , variable name

git at icinga.org git at icinga.org
Fri May 20 09:24:04 CEST 2016


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

Author: Thomas Gelf <thomas at gelf.net>
Date:   Fri May 20 09:23:48 2016 +0200

IcingaObject: fix c&p error, variable name

---

 library/Director/Objects/IcingaObject.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Director/Objects/IcingaObject.php b/library/Director/Objects/IcingaObject.php
index c4f2d5b..bee05d9 100644
--- a/library/Director/Objects/IcingaObject.php
+++ b/library/Director/Objects/IcingaObject.php
@@ -576,7 +576,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
         if (is_array($this->getKeyName())) {
             // Affects services only:
             return self::load(
-                array('object_name' => $import),
+                array('object_name' => $name),
                 $this->connection
             );
         } else {



More information about the icinga-checkins mailing list