Solved open ACL reports problems
This commit is contained in:
parent
7406ce5239
commit
9ce0b14933
|
@ -69,7 +69,7 @@ $table->data['name'][1] = html_print_input_text('name', $reportName,
|
||||||
$table->data['group'][0] = __('Group');
|
$table->data['group'][0] = __('Group');
|
||||||
|
|
||||||
$write_groups = users_get_groups_for_select(false, "RW",
|
$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 the report group is not among the RW groups (special permission) we add it
|
||||||
if (!isset($write_groups[$idGroupReport]) && $idGroupReport) {
|
if (!isset($write_groups[$idGroupReport]) && $idGroupReport) {
|
||||||
|
|
Loading…
Reference in New Issue