Module: nagvis
Branch: nagvis-1.4
Commit: bc7e1f048760435a798100204bc2e1c4927eb008
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=bc7e1f048760435a798100204bc2e1c4927eb008

Author: Lars Michelsen <[email protected]>
Date:   Sun Aug  2 21:01:50 2009 +0200

Fixed problem with latest change

---

 nagvis/nagvis/includes/classes/GlobalMapCfg.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/nagvis/nagvis/includes/classes/GlobalMapCfg.php 
b/nagvis/nagvis/includes/classes/GlobalMapCfg.php
index 3581589..1173093 100644
--- a/nagvis/nagvis/includes/classes/GlobalMapCfg.php
+++ b/nagvis/nagvis/includes/classes/GlobalMapCfg.php
@@ -1289,7 +1289,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 {
@@ -1452,7 +1452,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

Reply via email to