#12633 Fixed Acknowledged 2
This commit is contained in:
parent
90c91f67fa
commit
9dbac217c1
|
@ -5103,9 +5103,23 @@ function events_page_general($event)
|
|||
$table_general->cellclass[count($table_general->data)][1] = 'general_acknowleded';
|
||||
|
||||
$data = [];
|
||||
|
||||
if (empty($event['server_id']) === false && (int) $event['server_id'] > 0
|
||||
&& is_metaconsole() === true
|
||||
) {
|
||||
$node_connect = new Node($event['server_id']);
|
||||
$node_connect->connect();
|
||||
}
|
||||
|
||||
$data[0] = __('Acknowledged by');
|
||||
$data[1] = events_page_general_acknowledged($event['id_evento']);
|
||||
|
||||
if (empty($event['server_id']) === false && (int) $event['server_id'] > 0
|
||||
&& is_metaconsole() === true
|
||||
) {
|
||||
$node_connect->disconnect();
|
||||
}
|
||||
|
||||
$table_general->cellclass[7][1] = 'general_status';
|
||||
|
||||
$table_general->data[] = $data;
|
||||
|
|
Loading…
Reference in New Issue