Author: Lars Michelsen <[email protected]>
Date: Tue Mar 22 23:52:35 2011 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Tue Mar 22 23:52:35 2011 +0100
Fixed modifying global map config parameters in WUI
---
share/server/core/classes/CoreModMap.php | 2 +-
share/server/core/classes/GlobalMapCfg.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/server/core/classes/CoreModMap.php
b/share/server/core/classes/CoreModMap.php
index 0f1643a..eff29bf 100644
--- a/share/server/core/classes/CoreModMap.php
+++ b/share/server/core/classes/CoreModMap.php
@@ -650,7 +650,7 @@ class CoreModMap extends CoreModule {
foreach($a['opts'] AS $key => $val) {
$MAPCFG->setValue($a['id'], $key, $val);
}
-
+
// write element to file
$MAPCFG->storeUpdateElement($a['id']);
diff --git a/share/server/core/classes/GlobalMapCfg.php
b/share/server/core/classes/GlobalMapCfg.php
index 8987970..db63e78 100644
--- a/share/server/core/classes/GlobalMapCfg.php
+++ b/share/server/core/classes/GlobalMapCfg.php
@@ -2244,7 +2244,7 @@ class GlobalMapCfg {
public function storeUpdateElement($id) {
$type = $this->mapConfig[$id]['type'];
- if($id === 0)
+ if($id == 0)
list($inObj, $start, $end) =
$this->getObjectLinesByNum(0);
else
list($inObj, $start, $end) =
$this->getObjectLinesById($id);
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins