Author: Lars Michelsen <[email protected]>
Date: Mon Jan 2 21:32:27 2012 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Mon Jan 2 21:32:27 2012 +0100
Bugfix: filterByState was always enabled after modifying the automap parameters
via web form
---
ChangeLog | 2 ++
share/server/core/classes/NagVisAutoMap.php | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 26a99fb..b8a2c86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,8 @@ Frontend
Automap
* Bugfix: Added missing view_type=line parameter to automap exported maps
+ * Bugfix: filterByState was always enabled after modifying the automap
+ parameters via web form
1.6.2
Core
diff --git a/share/server/core/classes/NagVisAutoMap.php
b/share/server/core/classes/NagVisAutoMap.php
index 99f307f..8e8d3bc 100644
--- a/share/server/core/classes/NagVisAutoMap.php
+++ b/share/server/core/classes/NagVisAutoMap.php
@@ -136,7 +136,7 @@ class NagVisAutoMap extends GlobalMap {
$prop['ignoreHosts'] = '';
if(!isset($prop['filterGroup']) || $prop['filterGroup'] == '')
$prop['filterGroup'] = '';
- if(!isset($prop['filterByState']) || $prop['filterByState'] == '')
+ if(!isset($prop['filterByState']) || $prop['filterByState'] == '0')
$prop['filterByState'] = '';
if(isset($prop['filterByIds']))
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins