Author:   Lars Michelsen <[email protected]>
Date:     Thu Dec  5 13:27:11 2013 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Thu Dec  5 13:27:11 2013 +0100

FIX: Fixed PHP error when using status hosts in backends

---

 ChangeLog                                     |    4 ++++
 share/server/core/classes/CoreBackendMgmt.php |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1d7e3a2..39687ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1.8b2
+Core:
+  * FIX: Fixed PHP error when using status hosts in backends
+
 1.8b1
 Core:
   * Changed internal structures to improve memory consumtion on large maps
diff --git a/share/server/core/classes/CoreBackendMgmt.php 
b/share/server/core/classes/CoreBackendMgmt.php
index 4724d44..014463b 100644
--- a/share/server/core/classes/CoreBackendMgmt.php
+++ b/share/server/core/classes/CoreBackendMgmt.php
@@ -533,7 +533,7 @@ class CoreBackendMgmt {
             return true;
         }
 
-        if($aCounts[$statusHost]['state'] == 'UP')
+        if($aCounts[$statusHost][STATE] == UP)
             return true;
         else
             return false;


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to