Fixed the setted values of a disable show modules in networkmap.

This commit is contained in:
mdtrooper 2016-04-15 11:29:55 +02:00
parent 4c04e19cf8
commit 84b249b4a7
1 changed files with 6 additions and 0 deletions

View File

@ -301,6 +301,12 @@ else if ($delete_networkmap || $duplicate_networkmap || $update_networkmap) {
$filter['show_pandora_nodes'] = $show_pandora_nodes;
$filter['show_agents'] = $show_agents;
$filter['show_modules'] = $show_modules;
if (!$show_modules) {
$show_module_group = 0;
$module_group = 0;
$only_snmp_modules = 0;
$only_modules_with_alerts = 0;
}
$filter['module_group'] = $module_group;
$filter['show_module_group'] = $show_module_group;
$filter['only_snmp_modules'] = $only_snmp_modules;