From 674a4f26971049cd58ec54dcc61e7160e0334802 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 11 Mar 2015 14:43:05 +0100 Subject: [PATCH] Fixed the lost units in the 'general' item in reports. (cherry picked from commit 86424849c6ade3688c1bc26ea890fa30924b9d38) --- pandora_console/include/functions_reporting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 4253ab15cd..3ed5f6aa40 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -5640,7 +5640,7 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f $data[$agent_name][$module_name] = '--'; } else { - if (!is_numeric($d)) { + if (!is_numeric($value_res)) { $data[$agent_name][$module_name] = $value_res; } else {