Fixed bug in report items

This commit is contained in:
manuel 2019-09-23 15:27:06 +02:00
parent bf15240d7c
commit b7ff7bc121
2 changed files with 5 additions and 1 deletions

View File

@ -2739,6 +2739,10 @@ function events_get_agent(
$date = time_w_fixed_tz($date);
}
if (is_metaconsole() && $events_group === false) {
$id_server = true;
}
if (empty($date)) {
$date = get_system_time();
}

View File

@ -124,7 +124,7 @@ if (!defined('METACONSOLE')) {
}
// Page header for metaconsole
if ($config['metaconsole'] == 1 and defined('METACONSOLE')) {
if (is_metaconsole()) {
// Bread crumbs
ui_meta_add_breadcrumb(['link' => 'index.php?sec=reporting&sec2=godmode/reporting/reporting_builder', 'text' => __('Reporting')]);