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:
parent
60168a5e92
commit
e98f7c6022
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue