#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]
|
['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>';
|
$data[1] = '<i>'.__('N/A').'</i>';
|
||||||
} else {
|
} else {
|
||||||
$responses = [];
|
$responses = [];
|
||||||
|
|
Loading…
Reference in New Issue