Module: nagvis
Branch: master
Commit: 54de2f94d1906e119f2778c3be93707891311b87
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=54de2f94d1906e119f2778c3be93707891311b87

Author: Lars Michelsen <[email protected]>
Date:   Sat Aug 15 16:06:57 2009 +0200

Fixed automap rendering

---

 share/nagvis/includes/classes/NagVisAutoMap.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/nagvis/includes/classes/NagVisAutoMap.php 
b/share/nagvis/includes/classes/NagVisAutoMap.php
index eac2908..ee3251a 100644
--- a/share/nagvis/includes/classes/NagVisAutoMap.php
+++ b/share/nagvis/includes/classes/NagVisAutoMap.php
@@ -505,7 +505,7 @@ class NagVisAutoMap extends GlobalMap {
                
                // Get object configuration from configuration file
                foreach($this->MAPCFG->getValidTypeKeys('host') AS $key) {
-                       if($key != 'type' && $key != 'backend_id' && $key != 
'host_name') {
+                       if($key != 'type' && $key != 'backend_id' && $key != 
'host_name' & $key != 'object_id') {
                                $objConf[$key] = 
$this->MAPCFG->getValue('global', 0, $key);
                        }
                }


------------------------------------------------------------------------------
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