From a386fc9441e9382ec82d8e080406376f2da704c0 Mon Sep 17 00:00:00 2001 From: danielmaya Date: Thu, 22 Feb 2018 17:38:13 +0100 Subject: [PATCH] Fixed SQL report --- .../godmode/reporting/reporting_builder.item_editor.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index e453fb6de1..65565857c0 100755 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -370,21 +370,21 @@ switch ($action) { break; case 'sql_graph_pie': $description = $item['description']; - $sql = $item['external_source']; + $sql_query_report = $item['external_source']; $idCustom = $item['treport_custom_sql_id']; $historical_db = $item['historical_db']; $period = 0; break; case 'sql_graph_vbar': $description = $item['description']; - $sql = $item['external_source']; + $sql_query_report = $item['external_source']; $idCustom = $item['treport_custom_sql_id']; $historical_db = $item['historical_db']; $period = 0; break; case 'sql_graph_hbar': $description = $item['description']; - $sql = $item['external_source']; + $sql_query_report = $item['external_source']; $idCustom = $item['treport_custom_sql_id']; $historical_db = $item['historical_db']; $period = 0;