2009-02-19 Esteban Sanchez <estebans@artica.es>

* godmode/agentes/manage_delete.php: Fixed an error when no agent is
        selected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
esanchezm 2009-02-19 16:13:38 +00:00
parent f22fa04934
commit 54ea5dff55
2 changed files with 7 additions and 1 deletions
pandora_console

View File

@ -1,3 +1,8 @@
2009-02-19 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/manage_delete.php: Fixed an error when no agent is
selected.
2009-02-19 Esteban Sanchez <estebans@artica.es>
* include/functions_ui.php: Added require_css_file(),

View File

@ -37,6 +37,7 @@ function process_manage_delete ($id_agents) {
echo '<h3 class="error">'.__('No agents selected').'</h3>';
return false;
}
$id_agents = (array) $id_agents;
$copy_modules = (bool) get_parameter ('copy_modules');
@ -65,7 +66,7 @@ function process_manage_delete ($id_agents) {
}
$id_group = (int) get_parameter ('id_group');
$id_agents = (array) get_parameter ('id_agents');
$id_agents = get_parameter ('id_agents');
$delete = (bool) get_parameter_post ('delete');