From 1cdc8ef15f34fc6af21844c8f60dabf1a4542555 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Fri, 4 Jan 2013 11:30:55 +0000 Subject: [PATCH] 2013-01-04 Juan Manuel Ramon * include/config_process.php: Removed php notice in this view. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/include/config_process.php | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index c8a57eb136..f2f5dc8ebc 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2013-01-04 Juan Manuel Ramon + + * include/config_process.php: Removed php notice in this view. + 2013-01-04 Juan Manuel Ramon * include/help/en/help_alert_macros.php diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index 5520a725de..dcc7afaae3 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -157,6 +157,11 @@ if (isset ($config['id_user'])) { } } +// Check if inventory_changes_blacklist is setted, if not create it +if (!isset($config['inventory_changes_blacklist'])) { + $config['inventory_changes_blacklist'] = array(); +} + set_user_language(); require_once ($ownDir . 'functions_extensions.php');