2010-04-23 Sergio Martin <sergio.martin@artica.es>

* general/ui/agents_list.php: Changed the all group
                condition from 1 to 0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-04-23 11:58:30 +00:00
parent 6cb14fd52b
commit 6326585436
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-04-23 Sergio Martin <sergio.martin@artica.es>
* general/ui/agents_list.php: Changed the all group
condition from 1 to 0
2010-04-23 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/reporting_builder.php: Changed the

View File

@ -24,7 +24,7 @@ if (is_ajax ()) {
$filter = str_replace ("\\\"", "\"", $_POST['filter']);
$filter = json_decode ($filter, true);
$id_group = (int) get_parameter ('id_group');
if ($id_group > 1 && give_acl ($config['id_user'], $id_group, $access))
if ($id_group > 0 && give_acl ($config['id_user'], $id_group, $access))
$filter['id_grupo'] = $id_group;
else
$filter['id_grupo'] = array_keys (get_user_groups (false, $access));