fix time api create event pandora_enterprise#9284

This commit is contained in:
Daniel Barbero Martin 2022-07-18 17:06:12 +02:00
parent 00d4f66dc3
commit 13832dcfa2
1 changed files with 2 additions and 2 deletions

View File

@ -2199,9 +2199,9 @@ function events_create_event(
'id_usuario' => $id_user,
'id_grupo' => $id_group,
'estado' => $status,
'timestamp' => 'NOW()',
'timestamp' => date('Y-m-d H:i:s'),
'evento' => $event,
'utimestamp' => 'UNIX_TIMESTAMP(NOW())',
'utimestamp' => time(),
'event_type' => $event_type,
'id_agentmodule' => $id_agent_module,
'id_alert_am' => $id_aam,