mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Some fixes in the dynamic reports for metaconsole.
This commit is contained in:
parent
2b5d79b81c
commit
cf5b850c3f
@ -514,7 +514,7 @@ function reports_get_report_types ($template = false, $not_editor = false) {
|
|||||||
$types['sql_graph_hbar'] = array('optgroup' => __('Graphs'),
|
$types['sql_graph_hbar'] = array('optgroup' => __('Graphs'),
|
||||||
'name' => __('SQL horizonal bar graph'));
|
'name' => __('SQL horizonal bar graph'));
|
||||||
}
|
}
|
||||||
if ($template) {
|
if ($template && !defined('METACONSOLE')) {
|
||||||
$types['automatic_graph'] = array('optgroup' => __('Graphs'),
|
$types['automatic_graph'] = array('optgroup' => __('Graphs'),
|
||||||
'name' => __('Automatic combined Graph'));
|
'name' => __('Automatic combined Graph'));
|
||||||
}
|
}
|
||||||
|
@ -249,7 +249,7 @@ if ($enable_init_date) {
|
|||||||
|
|
||||||
$report = reporting_make_reporting_data(null, $id_report, $date, $time,
|
$report = reporting_make_reporting_data(null, $id_report, $date, $time,
|
||||||
$period, 'dinamic');
|
$period, 'dinamic');
|
||||||
html_debug_print($report);
|
|
||||||
reporting_html_print_report($report);
|
reporting_html_print_report($report);
|
||||||
|
|
||||||
echo "<br>";
|
echo "<br>";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user