Merge branch 'ent-3697-no-hay-opcion-a-ver-todos-los-grupos-con-permisos-correctos' into 'develop'

Pending Q&A

See merge request artica/pandorafms!2262
This commit is contained in:
Daniel Rodriguez 2019-06-25 12:06:07 +02:00
commit 569bfa2329
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ echo '<td>';
echo __('Group').'&nbsp;';
$own_info = get_user_info($config['id_user']);
if (!$own_info['is_admin'] && !check_acl($config['id_user'], 0, 'AW')) {
if (!$own_info['is_admin'] && check_acl($config['id_user'], 0, 'AW')) {
$return_all_group = false;
} else {
$return_all_group = true;