2009-11-12 Miguel de Dios <miguel.dedios@artica.es>

* 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
This commit is contained in:
mdtrooper 2009-11-13 11:13:26 +00:00
parent b090979cfc
commit eee26aad4e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-11-12 Miguel de Dios <miguel.dedios@artica.es>
* godmode/db/db_sanity.php: fix typo error there was one "zero" more in
query SQL.
Fixes: 2895298
2009-11-12 Sancho lerena <slerena@artica.es>
* include/help/en/help_web_checks.php: Added missing help.

View File

@ -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 <br>";
process_sql ($sql);
}