#12633 Fixed Acknowledged 2

This commit is contained in:
Daniel Maya 2023-12-12 14:07:18 +01:00
parent 90c91f67fa
commit 9dbac217c1
1 changed files with 14 additions and 0 deletions

View File

@ -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;