Author:   Lars Michelsen <[email protected]>
Date:     Mon Jun 25 22:17:07 2012 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Mon Jun 25 22:17:07 2012 +0200

Fixed demo geomap problem

---

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

diff --git a/share/server/core/sources/geomap.php 
b/share/server/core/sources/geomap.php
index fdbc7d2..2af1af2 100644
--- a/share/server/core/sources/geomap.php
+++ b/share/server/core/sources/geomap.php
@@ -161,7 +161,7 @@ function process_geomap($MAPCFG, $map_name, &$map_config) {
     $min_long = 180;
     $max_long = -180;
     foreach($map_config AS $obj) {
-        if($obj['object_id'] == 0)
+        if($obj['type'] == 'global')
             continue;
 
         if($obj['lat'] < $min_lat)


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to