Fixed issue with events

This commit is contained in:
Jose Gonzalez 2021-11-25 13:52:53 +01:00
parent 3f28a98744
commit b151b3996d
1 changed files with 2 additions and 4 deletions

View File

@ -132,10 +132,8 @@ if ($get_comments === true) {
sprintf(
'SELECT `user_comment`
FROM `tevento`
WHERE `id_agente` = "%d" AND `data` = "%d" AND `estado` = "%d"',
$event['id_agente'],
$event['data'],
$event['estado']
WHERE `evento` = "%s"',
io_safe_output($event['evento'])
)
);
} else {