[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaObject: fix issue with disabled property

git at icinga.org git at icinga.org
Wed Feb 17 20:01:03 CET 2016


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

Author: Thomas Gelf <thomas at gelf.net>
Date:   Wed Feb 17 20:00:48 2016 +0100

IcingaObject: fix issue with disabled property

---

 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 8727fd5..01335bb 100644
--- a/library/Director/Objects/IcingaObject.php
+++ b/library/Director/Objects/IcingaObject.php
@@ -225,7 +225,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
 
     protected function setDisabled($disabled)
     {
-        return parent::set($this->normalizeBoolean($disabled));
+        return parent::reallySet('disabled', $this->normalizeBoolean($disabled));
     }
 
     public function markForRemoval($remove = true)



More information about the icinga-checkins mailing list