2012-06-05 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_modules.php: Fixed bug: When you copy a policy module, still liked to policy. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
49ba21100f
commit
1a871c7603
|
@ -1,3 +1,8 @@
|
|||
2012-06-06 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* include/functions_modules.php: Fixed bug: When you
|
||||
copy a policy module, still liked to policy.
|
||||
|
||||
2012-06-06 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* operation/agentes/exportdata.php
|
||||
|
|
|
@ -80,6 +80,8 @@ function modules_copy_agent_module_to_agent ($id_agent_module, $id_destiny_agent
|
|||
/* Rewrite different values */
|
||||
$new_module['id_agente'] = $id_destiny_agent;
|
||||
$new_module['ip_target'] = agents_get_address ($id_destiny_agent);
|
||||
$new_module['policy_linked'] = 0;
|
||||
$new_module['id_policy_module'] = 0;
|
||||
|
||||
/* Unset numeric indexes or SQL would fail */
|
||||
$len = count ($new_module) / 2;
|
||||
|
@ -97,6 +99,8 @@ function modules_copy_agent_module_to_agent ($id_agent_module, $id_destiny_agent
|
|||
/* Rewrite different values */
|
||||
$new_module['id_agente'] = $id_destiny_agent;
|
||||
$new_module['ip_target'] = agents_get_address ($id_destiny_agent);
|
||||
$new_module['policy_linked'] = 0;
|
||||
$new_module['id_policy_module'] = 0;
|
||||
|
||||
/* Unset numeric indexes or SQL would fail */
|
||||
$len = count ($new_module) / 2;
|
||||
|
|
Loading…
Reference in New Issue