#13079 fixed bug in sql

This commit is contained in:
Daniel Cebrian 2024-03-20 18:07:53 +01:00
parent db871e8a29
commit e682a44d8b
1 changed files with 2 additions and 2 deletions

View File

@ -6630,8 +6630,8 @@ function event_get_comments_with_all_events($events, $filter=null, $server_id=0)
if ($mode === EVENT_GROUP_REP_EVENTS) {
// Default grouped message filtering (evento and estado).
$whereGrouped[] = sprintf(
'AND `tevento`.`evento` IN (%s)',
implode(',', $eventos)
'AND `tevento`.`evento` IN ("%s")',
implode('","', $eventos)
);
// If id_agente is reported, filter the messages by them as well.