Merge branch 'ent-9284-13964-fallo-en-creacion-de-eventos-via-api-create_event-a-la-hora-de-guardar-timestamp-del' into 'develop'
fix time api create event pandora_enterprise#9284 pandora_enterprise#9284 See merge request artica/pandorafms!5022
This commit is contained in:
commit
97132edd4f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue