2008-07-02 Esteban Sanchez <estebans@artica.es>

* 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
This commit is contained in:
esanchezm 2008-07-02 12:44:18 +00:00
parent f6efb72c7f
commit 3cfd862d48
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-07-02 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Fixed typo in event_insert().
2008-07-02 Esteban Sanchez <estebans@artica.es>
* include/styles/pandora.css: Removed width on header div.

View File

@ -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)',