#7404 fixed acl in event response

This commit is contained in:
Daniel Maya 2021-04-27 10:19:05 +02:00
parent 8a5f5992ac
commit 49d2e9a437
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [];