From eee26aad4e6cb7e1fee630759d15209e93daf459 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 13 Nov 2009 11:13:26 +0000 Subject: [PATCH] 2009-11-12 Miguel de Dios * godmode/db/db_sanity.php: fix typo error there was one "zero" more in query SQL. Fixes: 2895298 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/godmode/db/db_sanity.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 5aa804a095..c03f433c61 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2009-11-12 Miguel de Dios + + * godmode/db/db_sanity.php: fix typo error there was one "zero" more in + query SQL. + Fixes: 2895298 + 2009-11-12 Sancho lerena * include/help/en/help_web_checks.php: Added missing help. diff --git a/pandora_console/godmode/db/db_sanity.php b/pandora_console/godmode/db/db_sanity.php index 8a0c5b2f2a..07ef2d661f 100644 --- a/pandora_console/godmode/db/db_sanity.php +++ b/pandora_console/godmode/db/db_sanity.php @@ -43,7 +43,7 @@ if ($sanity == 1) { WHERE id_agente_modulo = $id_agente_modulo"; $total = get_db_sql ($sql); if ($total == 0) { - $sql = "INSERT INTO tagente_estado (id_agente_modulo, datos, timestamp, estado, id_agente, last_try, utimestamp, current_interval, running_by, last_execution_try) VALUE ($id_agente_modulo, 0, '0000-00-00 00:00:00', 0, 100, $id_agente, '0000-00-00 00:00:00', 0, 0, 0, 0)"; + $sql = "INSERT INTO tagente_estado (id_agente_modulo, datos, timestamp, estado, id_agente, last_try, utimestamp, current_interval, running_by, last_execution_try) VALUE ($id_agente_modulo, 0, '0000-00-00 00:00:00', 0, 100, $id_agente, '0000-00-00 00:00:00', 0, 0, 0)"; echo "Inserting module $id_agente_modulo in state table
"; process_sql ($sql); }