mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fix group report metaconsole
This commit is contained in:
parent
33d5dc2e76
commit
351fad8f82
@ -2595,7 +2595,7 @@ function reporting_html_group_report($table, $item, $pdf=0)
|
||||
$group_os = [];
|
||||
|
||||
if ($item['subtitle'] === 'All') {
|
||||
if (is_metaconsole() === true && $item['server_name'] === 'all') {
|
||||
if (is_metaconsole() === true && $item['server_name'] === 'all' || $item['server_name'] === '0') {
|
||||
$nodes = metaconsole_get_connections();
|
||||
foreach ($nodes as $node) {
|
||||
try {
|
||||
@ -2653,7 +2653,7 @@ function reporting_html_group_report($table, $item, $pdf=0)
|
||||
} else {
|
||||
$group_id = db_get_value('id_grupo', 'tgrupo', 'nombre', $item['subtitle']);
|
||||
|
||||
if (is_metaconsole() === true && $item['server_name'] === 'all') {
|
||||
if (is_metaconsole() === true && $item['server_name'] === 'all' || $item['server_name'] === '0') {
|
||||
$nodes = metaconsole_get_connections();
|
||||
foreach ($nodes as $node) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user