2010-12-22 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_edit_agents.php: Fixed the massive edition of the agents parent for bug 3141852 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e001d8b850
commit
deb5c5ff46
|
@ -1,3 +1,8 @@
|
|||
2010-12-22 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/massive/massive_edit_agents.php: Fixed the massive edition
|
||||
of the agents parent for bug 3141852
|
||||
|
||||
2010-12-22 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/functions_reporting.php,
|
||||
|
|
|
@ -51,7 +51,6 @@ $update_agents = get_parameter ('update_agents', 0);
|
|||
|
||||
if ($update_agents) {
|
||||
$values = array();
|
||||
|
||||
if (get_parameter ('group', '') != -1)
|
||||
$values['id_grupo'] = get_parameter ('group');
|
||||
if (get_parameter ('interval', '') != '')
|
||||
|
@ -59,7 +58,7 @@ if ($update_agents) {
|
|||
if (get_parameter ('id_os', '') != -1)
|
||||
$values['id_os'] = get_parameter ('id_os');
|
||||
if (get_parameter ('id_parent', '') != '')
|
||||
$values['id_parent'] = get_parameter ('id_parent');
|
||||
$values['id_parent'] = get_agent_id(get_parameter ('id_parent'));
|
||||
if (get_parameter ('server_name', '') != -1)
|
||||
$values['server_name'] = get_parameter ('server_name');
|
||||
if (get_parameter ('description', '') != '')
|
||||
|
|
Loading…
Reference in New Issue