mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +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 = [];
|
$group_os = [];
|
||||||
|
|
||||||
if ($item['subtitle'] === 'All') {
|
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();
|
$nodes = metaconsole_get_connections();
|
||||||
foreach ($nodes as $node) {
|
foreach ($nodes as $node) {
|
||||||
try {
|
try {
|
||||||
@ -2653,7 +2653,7 @@ function reporting_html_group_report($table, $item, $pdf=0)
|
|||||||
} else {
|
} else {
|
||||||
$group_id = db_get_value('id_grupo', 'tgrupo', 'nombre', $item['subtitle']);
|
$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();
|
$nodes = metaconsole_get_connections();
|
||||||
foreach ($nodes as $node) {
|
foreach ($nodes as $node) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user