Fixed problems with recursions in manage agents. Tiquet: #3078
This commit is contained in:
parent
af19df20cf
commit
a5779e6829
|
@ -22,7 +22,7 @@ $group_id = (int) get_parameter ("group_id");
|
||||||
$ag_group = get_parameter ("ag_group_refresh", -1);
|
$ag_group = get_parameter ("ag_group_refresh", -1);
|
||||||
$sortField = get_parameter('sort_field');
|
$sortField = get_parameter('sort_field');
|
||||||
$sort = get_parameter('sort', 'none');
|
$sort = get_parameter('sort', 'none');
|
||||||
$recursion = get_parameter('recursion');
|
$recursion = (bool) get_parameter('recursion',false);
|
||||||
$disabled = get_parameter('disabled', 0);
|
$disabled = get_parameter('disabled', 0);
|
||||||
|
|
||||||
if ($ag_group == -1 )
|
if ($ag_group == -1 )
|
||||||
|
@ -134,7 +134,7 @@ echo "<td>";
|
||||||
|
|
||||||
echo __('Group') . ' ';
|
echo __('Group') . ' ';
|
||||||
$own_info = get_user_info($config['id_user']);
|
$own_info = get_user_info($config['id_user']);
|
||||||
if (!$own_info['is_admin'] && !check_acl ($config['id_user'], 0, "PM"))
|
if (!$own_info['is_admin'] && !check_acl ($config['id_user'], 0, "AW"))
|
||||||
$return_all_group = false;
|
$return_all_group = false;
|
||||||
else
|
else
|
||||||
$return_all_group = true;
|
$return_all_group = true;
|
||||||
|
|
Loading…
Reference in New Issue