diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a79a2e5ac9..b7083c2615 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-12-27 Juan Manuel Ramon + + * include/functions_reports.php: Hide inventory changes report in + temaplate functionality. + 2012-12-27 Hirofumi Kosaka * general/logon_ok.php: Fixed typo. (fixed a bug that the diff --git a/pandora_console/include/functions_reports.php b/pandora_console/include/functions_reports.php index dc9db838a1..1594d39e16 100644 --- a/pandora_console/include/functions_reports.php +++ b/pandora_console/include/functions_reports.php @@ -596,8 +596,10 @@ function reports_get_report_types ($template = false, $not_editor = false) { if($config['enterprise_installed']) { $types['inventory'] = array('optgroup' => __('Inventory'), 'name' => __('Inventory')); - $types['inventory_changes'] = array('optgroup' => __('Inventory'), - 'name' => __('Inventory changes')); + if (!$template) { + $types['inventory_changes'] = array('optgroup' => __('Inventory'), + 'name' => __('Inventory changes')); + } } $types['agent_configuration'] = array('optgroup' => __('Configuration'),