Author:   Lars Michelsen <[email protected]>
Date:     Thu Nov 24 11:24:22 2011 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Thu Nov 24 11:24:22 2011 +0100

Bugfix: Correctly adding object_id=0 to global section when creating maps

---

 ChangeLog                                  |    1 +
 TODO                                       |    2 ++
 share/server/core/classes/GlobalMapCfg.php |    2 +-
 3 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e4f4fd1..5e87361 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@ Core
   * Using z=5 for textboxes and z=1 for shapes again as default values
   * Added new config option line_label_y_offset to configure the label offset
     used in weathermap lines which show percentage and absolute bandwidth 
labels
+  * Bugfix: Correctly adding object_id=0 to global section when creating maps
 
 Frontend
   * Sorting maps by alias in header menu now
diff --git a/TODO b/TODO
index e929be5..c788e41 100644
--- a/TODO
+++ b/TODO
@@ -13,6 +13,8 @@ Relative Koordinaten:
 - Abgebrochene Linie wieder aus Ansicht entfernen
 - line_weather_color umbrechen wenn als Text dargestellt
 - line_label_y_offset wird noch nicht sauber berechnet
+- omd_install.sh - muss mit alten nagvis-omd.ini.php umgehen können und die 
+  nach conf.d/omd.ini.php bewegen können
 
 -------------------------------------------------------------------------------
 
diff --git a/share/server/core/classes/GlobalMapCfg.php 
b/share/server/core/classes/GlobalMapCfg.php
index 9a84e3e..d4a3700 100644
--- a/share/server/core/classes/GlobalMapCfg.php
+++ b/share/server/core/classes/GlobalMapCfg.php
@@ -879,7 +879,7 @@ class GlobalMapCfg {
             $keys = array_keys($this->mapConfig[$id]);
 
         foreach($keys AS $key)
-            if($key !== 'type' && isset($this->mapConfig[$id][$key]) && 
$this->mapConfig[$id][$key] != '')
+            if($key !== 'type' && isset($this->mapConfig[$id][$key]) && 
$this->mapConfig[$id][$key] !== '')
                 $a[] = $key.'='.$this->mapConfig[$id][$key]."\n";
 
         $a[] = "}\n";


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to