2008-12-23 Ramon Novoa <rnovoa@artica.es>

* godmode/agentes/configurar_agente.php: Properly insert the custom ID
          when creating the keepalive module (there was a typo).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2008-12-23 18:52:59 +00:00
parent 60168a5e92
commit e98f7c6022
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-12-23 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/configurar_agente.php: Properly insert the custom ID
when creating the keepalive module (there was a typo).
2008-12-23 Evi Vanoost <vanooste@rcbi.rochester.edu
* include/functions.php: Fixed format_numeric in case there are characters

View File

@ -152,7 +152,7 @@ if (isset ($_POST["create_agent"])) { // Create a new and shiny agent
$sql = "INSERT INTO tagente_modulo
(nombre, id_agente, id_tipo_modulo, descripcion, id_modulo, custom_id)
VALUES
('agent_keepalive',".$id_agente.",100,'Agent Keepalive monitor',1".$custom_id.")";
('agent_keepalive',".$id_agente.",100,'Agent Keepalive monitor',1,'".$custom_id."')";
$id_agent_module = process_sql ($sql, "insert_id");
if ($id_agent_module !== false) {