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

Author: LaMi <[email protected]>
Date:   Thu Apr  1 01:18:11 2010 +0200

Fixed service output/state in hover menu childs

---

 .../core/classes/objects/NagiosServicegroup.php    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/server/core/classes/objects/NagiosServicegroup.php 
b/share/server/core/classes/objects/NagiosServicegroup.php
index a67f3e5..44f9997 100644
--- a/share/server/core/classes/objects/NagiosServicegroup.php
+++ b/share/server/core/classes/objects/NagiosServicegroup.php
@@ -198,8 +198,8 @@ class NagiosServicegroup extends NagVisStatefulObject {
                                $OBJ = new NagVisService($this->CORE, 
$this->BACKEND, $this->backend_id, $aService['host'], $aService['description']);
                                
                                // Also get summary state
-                               $aService['summary_state'] = $OBJ->getState();
-                               $aService['summary_output'] = $OBJ->getOutput();
+                               $aService['summary_state'] = $aService['state'];
+                               $aService['summary_output'] = 
$aService['output'];
                                
                                // Append contents of the array to the object 
properties
                                $OBJ->setObjectInformation($aService);


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to