mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
#7404 fixed acl in event response
This commit is contained in:
parent
8a5f5992ac
commit
49d2e9a437
@ -3743,7 +3743,7 @@ function events_page_responses($event, $childrens_ids=[])
|
||||
['id_group' => $id_groups]
|
||||
);
|
||||
|
||||
if (empty($event_responses)) {
|
||||
if (empty($event_responses) || (!check_acl($config['id_user'], 0, 'EW') && !check_acl($config['id_user'], 0, 'EM'))) {
|
||||
$data[1] = '<i>'.__('N/A').'</i>';
|
||||
} else {
|
||||
$responses = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user