Fixed issue with events
This commit is contained in:
parent
3f28a98744
commit
b151b3996d
|
@ -132,10 +132,8 @@ if ($get_comments === true) {
|
||||||
sprintf(
|
sprintf(
|
||||||
'SELECT `user_comment`
|
'SELECT `user_comment`
|
||||||
FROM `tevento`
|
FROM `tevento`
|
||||||
WHERE `id_agente` = "%d" AND `data` = "%d" AND `estado` = "%d"',
|
WHERE `evento` = "%s"',
|
||||||
$event['id_agente'],
|
io_safe_output($event['evento'])
|
||||||
$event['data'],
|
|
||||||
$event['estado']
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue