From c5a951b4744dae95dcc68442358acb97ffd96e06 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez <arturo.gonzalez@artica.es> Date: Tue, 29 Nov 2016 15:30:51 +0100 Subject: [PATCH] It's uniqid, not uniq_id (hermione reference). Ticket #4249 --- pandora_console/include/functions_reporting_html.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index c266946ca2..369d754546 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -1306,14 +1306,12 @@ function reporting_html_group_configuration($table, $item) { } function reporting_html_network_interfaces_report($table, $item) { - if (!empty($item['failed'])) { $table->colspan['interfaces']['cell'] = 3; $table->cellstyle['interfaces']['cell'] = 'text-align: left;'; $table->data['interfaces']['cell'] = $item['failed']; } else { - foreach ($item['data'] as $agent) { $table_agent = new StdCLass(); $table_agent->width = '100%'; @@ -1358,7 +1356,7 @@ function reporting_html_network_interfaces_report($table, $item) { $table_agent->colspan[$interface_name][0] = 3; } - $id = uniq_id(); + $id = uniqid(); $table->data['agents'][$id] = html_print_table($table_agent, true); $table->colspan[$id][0] = 3;