#11294 Fixed general search for policies
This commit is contained in:
parent
a5b84756d3
commit
2952b1244b
|
@ -201,7 +201,7 @@ if ($searchpolicies === true) {
|
||||||
and which the user have permission on this groups
|
and which the user have permission on this groups
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$user_groups = users_get_groups($config['id_user'], 'AR', false);
|
$user_groups = users_get_groups($config['id_user'], 'AR', true);
|
||||||
$id_user_groups = array_keys($user_groups);
|
$id_user_groups = array_keys($user_groups);
|
||||||
$id_user_groups_str = implode(',', $id_user_groups);
|
$id_user_groups_str = implode(',', $id_user_groups);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue