Module: nagvis
Branch: master
Commit: bf8e381031b65f931b516ea469c2ec719a12aec3
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/nagvis;a=commit;h=bf8e381031b65f931b516ea469c2ec719a12aec3

Author: Roman Kyrylych <[email protected]>
Date:   Fri Sep  4 14:35:16 2009 +0300

geomap: Fixed parse error in NagiosService

Signed-off-by: Roman Kyrylych <[email protected]>

---

 share/netmap/NagiosService.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/netmap/NagiosService.php b/share/netmap/NagiosService.php
index 3fb0a5d..204d8ee 100644
--- a/share/netmap/NagiosService.php
+++ b/share/netmap/NagiosService.php
@@ -173,7 +173,7 @@ class NagiosService
         */
        public function getHostGroupState($hostgroup)
        {
-               if (($data = $this->backend->getHostgroupState($hostgroup, 0) 
=== false)
+               if (($data = $this->backend->getHostgroupState($hostgroup, 0)) 
=== false)
                        return State::ERROR;
 
                $state = State::UNKNOWN;
@@ -213,7 +213,7 @@ class NagiosService
         */
        public function getServiceGroupState($servicegroup)
        {
-               if (($data = 
$this->backend->getServicegroupState($servicegroup, 0) === false)
+               if (($data = 
$this->backend->getServicegroupState($servicegroup, 0)) === false)
                        return State::ERROR;
 
                $state = State::UNKNOWN;


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to