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

Author: Lars Michelsen <[email protected]>
Date:   Sun Dec 26 17:46:03 2010 +0100

Automap perm param storing is skipping the perm key now

---

 .../nagvis-js/classes/FrontendModAutoMap.php       |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/share/frontend/nagvis-js/classes/FrontendModAutoMap.php 
b/share/frontend/nagvis-js/classes/FrontendModAutoMap.php
index c95a291..11c0418 100644
--- a/share/frontend/nagvis-js/classes/FrontendModAutoMap.php
+++ b/share/frontend/nagvis-js/classes/FrontendModAutoMap.php
@@ -111,7 +111,8 @@ class FrontendModAutoMap extends FrontendModule {
        private function saveDefaultParams($MAPCFG) {
                $s = '';
                foreach($this->opts AS $key => $val)
-                       $s .= '&'.$key.'='.$val;
+                       if($key !== 'perm')
+                               $s .= '&'.$key.'='.$val;
 
                $MAPCFG->setValue(0, 'default_params', $s);
                $MAPCFG->writeElement(0);


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to