Module: nagvis Branch: master Commit: 215a8e10ec0c51f27d1e152165dad13b4ae47907 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=215a8e10ec0c51f27d1e152165dad13b4ae47907
Author: Lars Michelsen <[email protected]> Date: Sun Aug 2 21:01:50 2009 +0200 Fixed problem with latest change --- share/nagvis/includes/classes/GlobalMapCfg.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/nagvis/includes/classes/GlobalMapCfg.php b/share/nagvis/includes/classes/GlobalMapCfg.php index 4ebaf55..096670c 100755 --- a/share/nagvis/includes/classes/GlobalMapCfg.php +++ b/share/nagvis/includes/classes/GlobalMapCfg.php @@ -1311,7 +1311,7 @@ class GlobalMapCfg { $sKey = trim(substr($file[$l],0,$iDelimPos)); $sValue = trim(substr($file[$l],($iDelimPos+1))); - if(isset($ignoreKeys[$sKey])) { + if(!isset($ignoreKeys[$sKey])) { if(isset($createArray[$sKey])) { $this->mapConfig[$sObjType][$iObjTypeId][$sKey] = explode(',', $sValue); } else { @@ -1474,7 +1474,7 @@ class GlobalMapCfg { // value is "must" if(!isset($element[$key]) || $element[$key] == '') { // a "must" value is missing or empty - new GlobalFrontendMessage('ERROR',$this->CORE->LANG->getText('mustValueNotSet', Array('MAPNAME' => $this->name, 'ATTRIBUTE' => $key, 'TYPE' => $type, 'ID' => $id))); + new GlobalFrontendMessage('ERROR',$this->CORE->LANG->getText('mapCfgMustValueNotSet', Array('MAPNAME' => $this->name, 'ATTRIBUTE' => $key, 'TYPE' => $type, 'ID' => $id))); } } } ------------------------------------------------------------------------------ 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
