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

Author: Lars Michelsen <[email protected]>
Date:   Tue Jun  1 09:04:52 2010 +0200

#303 Automap parameter work as designed 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 88abb19..ed88731 100644
--- a/share/server/core/classes/NagVisAutoMap.php
+++ b/share/server/core/classes/NagVisAutoMap.php
@@ -85,7 +85,7 @@ class NagVisAutoMap extends GlobalMap {
                foreach($params AS $set) {
                        $arrSet = explode('=',$set);
                        // Only load default option when the option has not 
been set before
-                       if(!isset($opts[$arrSet[0]])) {
+                       if(!isset($prop[$arrSet[0]])) {
                                $prop[$arrSet[0]] = $arrSet[1];
                        }
                }


------------------------------------------------------------------------------

_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to