From 49d2e9a437abaa7cd7d3c4fa40d5713b608f94e7 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Tue, 27 Apr 2021 10:19:05 +0200 Subject: [PATCH] #7404 fixed acl in event response --- pandora_console/include/functions_events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index ea85ed589b..8f96e7c66d 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -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] = ''.__('N/A').''; } else { $responses = [];