Fixed SQL report

This commit is contained in:
danielmaya 2018-02-22 17:38:13 +01:00
parent e752e26ee3
commit a386fc9441

View File

@ -370,21 +370,21 @@ switch ($action) {
break; break;
case 'sql_graph_pie': case 'sql_graph_pie':
$description = $item['description']; $description = $item['description'];
$sql = $item['external_source']; $sql_query_report = $item['external_source'];
$idCustom = $item['treport_custom_sql_id']; $idCustom = $item['treport_custom_sql_id'];
$historical_db = $item['historical_db']; $historical_db = $item['historical_db'];
$period = 0; $period = 0;
break; break;
case 'sql_graph_vbar': case 'sql_graph_vbar':
$description = $item['description']; $description = $item['description'];
$sql = $item['external_source']; $sql_query_report = $item['external_source'];
$idCustom = $item['treport_custom_sql_id']; $idCustom = $item['treport_custom_sql_id'];
$historical_db = $item['historical_db']; $historical_db = $item['historical_db'];
$period = 0; $period = 0;
break; break;
case 'sql_graph_hbar': case 'sql_graph_hbar':
$description = $item['description']; $description = $item['description'];
$sql = $item['external_source']; $sql_query_report = $item['external_source'];
$idCustom = $item['treport_custom_sql_id']; $idCustom = $item['treport_custom_sql_id'];
$historical_db = $item['historical_db']; $historical_db = $item['historical_db'];
$period = 0; $period = 0;