From 80ba29ee234942ace8a35a06045f0a81e1d63444 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Tue, 12 Feb 2013 16:50:08 +0000 Subject: [PATCH] 2013-02-12 Sergio Martin * include/functions_config.php: Fixed the update of the inventory changes black list on setup for bug 3604298 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_config.php | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 5fd485581d..cf57595210 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-02-12 Sergio Martin + + * include/functions_config.php: Fixed the update of the + inventory changes black list on setup for bug 3604298 + 2013-02-12 Sergio Martin * include/help/en/help_warning_status.php diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 7ecf849ca8..2b2bd15c8e 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -149,6 +149,10 @@ function config_update_config () { config_update_value ('replication_mode', (string)get_parameter('replication_mode')); } config_update_value ('log_collector', (bool)get_parameter('log_collector')); + + $inventory_changes_blacklist = get_parameter('inventory_changes_blacklist', array()); + config_update_value ('inventory_changes_blacklist', implode(',',$inventory_changes_blacklist)); + } break; case 'pass':