Solved open ACL reports problems

This commit is contained in:
fermin831 2016-03-01 10:15:33 +01:00
parent 4c642d007d
commit d3260a8c2b
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ $table->data['name'][1] = html_print_input_text('name', $reportName,
$table->data['group'][0] = __('Group');
$write_groups = users_get_groups_for_select(false, "RW",
users_can_manage_group_all(), true, false, 'id_grupo');
users_can_manage_group_all(0, "RW"), true, false, 'id_grupo');
// If the report group is not among the RW groups (special permission) we add it
if (!isset($write_groups[$idGroupReport]) && $idGroupReport) {