#9140 Fixed comments

This commit is contained in:
Daniel Maya 2022-06-29 15:34:09 +02:00
parent f48d3a9849
commit 43b2a3d47e
1 changed files with 19 additions and 21 deletions

View File

@ -96,7 +96,6 @@ if ($get_comments === true) {
$eventsGrouped = []; $eventsGrouped = [];
// Consider if the event is grouped. // Consider if the event is grouped.
$whereGrouped = '1=1'; $whereGrouped = '1=1';
if (isset($event['event_rep']) === true && $event['event_rep'] > 0) {
// Default grouped message filtering (evento and estado). // Default grouped message filtering (evento and estado).
$whereGrouped = sprintf( $whereGrouped = sprintf(
'`evento` = "%s" AND `estado` = "%s" AND `event_type` = "%s" ', '`evento` = "%s" AND `estado` = "%s" AND `event_type` = "%s" ',
@ -119,7 +118,6 @@ if ($get_comments === true) {
(int) $event['id_agentmodule'] (int) $event['id_agentmodule']
); );
} }
}
try { try {
if (is_metaconsole() === true if (is_metaconsole() === true