mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
13473-Fix acl widgets Block histogram, Module histogram and Tree view (histogram graph)
This commit is contained in:
parent
3d423c6912
commit
d967b7076a
@ -1674,6 +1674,12 @@ function events_get_all(
|
||||
}
|
||||
}
|
||||
|
||||
if (!$user_is_admin && users_can_manage_group_all('ER') === false) {
|
||||
if (str_contains($fields[0], 'te.id_grupo') === false) {
|
||||
$fields[0] .= ', te.id_grupo';
|
||||
}
|
||||
}
|
||||
|
||||
if (((int) $filter['group_rep'] === EVENT_GROUP_REP_EVENTS
|
||||
|| (int) $filter['group_rep'] === EVENT_GROUP_REP_EXTRAIDS) && $count === false
|
||||
) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user