Module: nagvis Branch: master Commit: 8f1128b2ce0c1d5358118d16e7fa776a900ce5f8 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=8f1128b2ce0c1d5358118d16e7fa776a900ce5f8
Author: Lars Michelsen <[email protected]> Date: Sat Jul 24 16:13:02 2010 +0200 #333 Automap default params are now used in all cases --- 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 82757a7..839f92b 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($prop[$arrSet[0]])) { + if(!isset($prop[$arrSet[0]]) || $prop[$arrSet[0]] == '') { $prop[$arrSet[0]] = $arrSet[1]; } } ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
