diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 6b7216d845..8213aab1ad 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2008-07-02 Esteban Sanchez + + * include/functions_db.php: Fixed typo in event_insert(). + 2008-07-02 Esteban Sanchez * include/styles/pandora.css: Removed width on header div. diff --git a/pandora_console/include/functions_db.php b/pandora_console/include/functions_db.php index 943aaffe3d..2caf5c9285 100644 --- a/pandora_console/include/functions_db.php +++ b/pandora_console/include/functions_db.php @@ -824,7 +824,7 @@ function existe ($id_user) { function event_insert ($event, $id_group, $id_agent, $status = 0, $id_user = '', $event_type = "unknown", $priority = 0, $id_agent_module = 0, $id_aam = 0) { - $sql = sprint ('INSERT INTO tevento (id_agente, id_grupo, evento, timestamp, + $sql = sprintf ('INSERT INTO tevento (id_agente, id_grupo, evento, timestamp, estado, utimestamp, id_usuario, event_type, criticity, id_agentmodule, id_alert_am) VALUES (%d, %d, "%s", NOW(), %d, NOW(), "%s", "%s", %d, %d, %d)',