Module: nagvis Branch: master Commit: a0a7029dde9c89da4da65aacc1736aef3d5850d1 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=a0a7029dde9c89da4da65aacc1736aef3d5850d1
Author: Lars Michelsen <[email protected]> Date: Tue Aug 18 21:11:27 2009 +0200 #77: WUI writes the internal backendid attribute to nagvis.ini.php when using backend management dialog --- share/wui/includes/classes/WuiMainCfg.php | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/share/wui/includes/classes/WuiMainCfg.php b/share/wui/includes/classes/WuiMainCfg.php index 12fc81f..b925514 100644 --- a/share/wui/includes/classes/WuiMainCfg.php +++ b/share/wui/includes/classes/WuiMainCfg.php @@ -168,7 +168,10 @@ class WuiMainCfg extends GlobalMainCfg { $item2 = $val; } - $content .= $key2.'="'.$item2.'"'."\n"; + // Don't write the backendid attribute (Is internal) + if($key2 !== 'backendid') { + $content .= $key2.'="'.$item2.'"'."\n"; + } } } } ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
