From 3cfd862d4829e57b56790507724e6b92568ea9f3 Mon Sep 17 00:00:00 2001 From: esanchezm Date: Wed, 2 Jul 2008 12:44:18 +0000 Subject: [PATCH] 2008-07-02 Esteban Sanchez * include/functions_db.php: Fixed typo in event_insert(). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@918 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/include/functions_db.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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)',