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;