mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fix error when empty group
This commit is contained in:
parent
9deccd7d29
commit
b011a8127a
@ -2702,8 +2702,13 @@ function reporting_html_group_report($table, $item, $pdf=0)
|
||||
WHERE ta.id_grupo IN ('.$explode_group_id.') GROUP by os.name'
|
||||
);
|
||||
|
||||
if (is_array($group_events_node) === true) {
|
||||
$group_events = array_merge($group_events, $group_events_node);
|
||||
}
|
||||
|
||||
if (is_array($group_os_node) === true) {
|
||||
$group_os = array_merge($group_os, $group_os_node);
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
$nd->disconnect();
|
||||
} finally {
|
||||
|
Loading…
x
Reference in New Issue
Block a user