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

Author: Lars Michelsen <[email protected]>
Date:   Mon Oct 19 18:22:20 2009 +0200

#146 The automap root is now being recognized again

---

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

diff --git a/share/server/core/classes/NagVisAutoMap.php 
b/share/server/core/classes/NagVisAutoMap.php
index e748ece..1d860e7 100644
--- a/share/server/core/classes/NagVisAutoMap.php
+++ b/share/server/core/classes/NagVisAutoMap.php
@@ -222,7 +222,7 @@ class NagVisAutoMap extends GlobalMap {
                $str .= 'dpi="72", ';
                //ratio: expand, auto, fill, compress
                $str .= 'ratio="fill", ';
-               $str .= 
'root="'.$this->rootObject->getType().'_'.$this->rootObject->getName().'", ';
+               $str .= 
'root="'.$this->rootObject->getType().'_'.$this->rootObject->getObjectId().'", 
';
                
                /* Directed (dot) only */
                if($this->renderMode == 'directed') {


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to