Module: nagvis
Branch: nagvis-1.4
Commit: 400a47431876a23dd74671c9e574a3f10f12698b
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=400a47431876a23dd74671c9e574a3f10f12698b

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

Fixed automap rendering

---

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

diff --git a/nagvis/nagvis/includes/classes/NagVisAutoMap.php 
b/nagvis/nagvis/includes/classes/NagVisAutoMap.php
index 546166b..58b9bfb 100644
--- a/nagvis/nagvis/includes/classes/NagVisAutoMap.php
+++ b/nagvis/nagvis/includes/classes/NagVisAutoMap.php
@@ -506,7 +506,7 @@ class NagVisAutoMap extends GlobalMap {
                
                // Get object configuration from __automap configuration
                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