From c391f0d7ac457d88cac955340ea6d958f05bf71d Mon Sep 17 00:00:00 2001 From: slerena Date: Sat, 9 Jun 2012 17:31:22 +0000 Subject: [PATCH] 2012-06-09 Sancho Lerena * functions_config.php: Fixed API password problem when you try to set it blank. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_config.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index c9e7c5bdba..3668b7fea3 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-06-09 Sancho Lerena + + * functions_config.php: Fixed API password problem when + you try to set it blank. + 2012-06-08 Dario Rodriguez * operation/tree.php: Improved performance of diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index de47d12c0f..7595af0596 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -189,14 +189,14 @@ function config_update_config () { config_update_value ('integria_enabled', get_parameter ('integria_enabled', $config['integria_enabled'])); config_update_value ('integria_inventory', get_parameter ('integria_inventory', $config['integria_inventory'])); - config_update_value ('integria_api_password', get_parameter ('integria_api_password', $config['integria_api_password'])); + config_update_value ('integria_api_password', get_parameter ('integria_api_password', "")); config_update_value ('integria_url', get_parameter ('integria_url', $config['integria_url'])); config_update_value ('sound_alert', get_parameter('sound_alert', $config['sound_alert'])); config_update_value ('sound_critical', get_parameter('sound_critical', $config['sound_critical'])); config_update_value ('sound_warning', get_parameter('sound_warning', $config['sound_warning'])); - config_update_value ('api_password', get_parameter('api_password', $config['api_password'])); + config_update_value ('api_password', get_parameter('api_password', "")); config_update_value ('collection_max_size', get_parameter('collection_max_size', $config['collection_max_size']));