diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php
index 27f3b7ea3a..339060092d 100644
--- a/pandora_console/godmode/agentes/configurar_agente.php
+++ b/pandora_console/godmode/agentes/configurar_agente.php
@@ -476,11 +476,6 @@ if ($id_agente) {
$inventorytab['active'] = false;
}
- $inventorytab = enterprise_hook('inventory_tab');
- if ($inventorytab === ENTERPRISE_NOT_HOOK) {
- $inventorytab = '';
- }
-
$has_remote_conf = enterprise_hook(
'config_agents_has_remote_configuration',
[$id_agente]
diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php
index ea3f7de46f..61a79e224b 100755
--- a/pandora_console/include/functions_reporting.php
+++ b/pandora_console/include/functions_reporting.php
@@ -2618,6 +2618,10 @@ function reporting_agents_inventory($report, $content)
$es_agents_inventory_display_options = [];
}
+ if ($es_agent_custom_fields === '') {
+ $es_agent_custom_fields = [];
+ }
+
$custom_field_sql = '';
$search_sql = '';
diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php
index 1f86ef8f0d..71e621c4b3 100644
--- a/pandora_console/include/functions_reporting_html.php
+++ b/pandora_console/include/functions_reporting_html.php
@@ -4643,7 +4643,7 @@ function reporting_html_availability_graph($table, $item, $pdf=0)
$table1->data[$k_chart][0] .= ' (24 x 7)';
}
- $total_values += $sla_value;
+ $total_values .= $sla_value;
$count_total_charts++;
$table1->data[$k_chart][1] = $chart['chart'];
$table1->data[$k_chart][2] = "".$sla_value.'
';
@@ -4720,7 +4720,7 @@ function reporting_html_availability_graph($table, $item, $pdf=0)
case 'result':
default:
- $total_values += $sla_value;
+ $total_values .= $sla_value;
$count_total_charts++;
$title = ''.__('Result').'';
$sla_value_text = "".$sla_value.'';
diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php
index fe1e577088..ede1cbb165 100755
--- a/pandora_console/include/functions_ui.php
+++ b/pandora_console/include/functions_ui.php
@@ -727,6 +727,7 @@ function ui_print_group_icon($id_group, $return=false, $path='', $style='', $lin
}
}
+ $icon = (str_contains($icon, '.svg') === true) ? $icon : $icon.'.svg';
$output .= html_print_image(
'images/'.$icon,
true,
diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css
index 2db4a529c0..f6f4364f92 100644
--- a/pandora_console/include/styles/pandora.css
+++ b/pandora_console/include/styles/pandora.css
@@ -8141,7 +8141,8 @@ div.graph div.legend table {
min-height: 460px;
position: relative;
overflow: hidden;
- background-color: #fafafa;
+ background-color: var(--secondary-color);
+ min-height: calc(100vh - 200px);
}
/*