[icinga-checkins] icinga.org: icinga-web/mhein/testing: * Fixed typo that crashed php 5.2.x

git at icinga.org git at icinga.org
Tue Aug 2 13:26:52 CEST 2011


Module: icinga-web
Branch: mhein/testing
Commit: b28a702010a6e56e350f8814359ba8c845af27fb
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=b28a702010a6e56e350f8814359ba8c845af27fb

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Tue Aug  2 09:59:55 2011 +0200

* Fixed typo that crashed php 5.2.x

---

 .../Web/models/Icinga/ApiContainerModel.class.php  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/modules/Web/models/Icinga/ApiContainerModel.class.php b/app/modules/Web/models/Icinga/ApiContainerModel.class.php
index f14afa4..bcc780e 100644
--- a/app/modules/Web/models/Icinga/ApiContainerModel.class.php
+++ b/app/modules/Web/models/Icinga/ApiContainerModel.class.php
@@ -19,7 +19,7 @@ class Web_Icinga_ApiContainerModel extends IcingaWebBaseModel
 
     public function setType($type) {
         if(isset(self::$TYPES[$type])) {
-            if($self::$TYPES[$type] == $this->type) 
+            if(self::$TYPES[$type] == $this->type) 
                 return;
             $this->type = self::$TYPES[$type];
             $this->model = $this->getModel();





More information about the icinga-checkins mailing list