Some fixes in the dynamic reports for metaconsole.

This commit is contained in:
mdtrooper 2015-06-29 13:18:55 +02:00
parent 2b5d79b81c
commit cf5b850c3f
2 changed files with 2 additions and 2 deletions

View File

@ -514,7 +514,7 @@ function reports_get_report_types ($template = false, $not_editor = false) {
$types['sql_graph_hbar'] = array('optgroup' => __('Graphs'),
'name' => __('SQL horizonal bar graph'));
}
if ($template) {
if ($template && !defined('METACONSOLE')) {
$types['automatic_graph'] = array('optgroup' => __('Graphs'),
'name' => __('Automatic combined Graph'));
}

View File

@ -249,7 +249,7 @@ if ($enable_init_date) {
$report = reporting_make_reporting_data(null, $id_report, $date, $time,
$period, 'dinamic');
html_debug_print($report);
reporting_html_print_report($report);
echo "<br>";