From 7f542c10938310c062391f24f756943f1988cec4 Mon Sep 17 00:00:00 2001 From: Vanessa Gil Date: Tue, 17 Mar 2015 12:36:10 +0100 Subject: [PATCH] Fixed bug in event list. --- pandora_console/include/functions_tags.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/include/functions_tags.php b/pandora_console/include/functions_tags.php index d2999a9d39..b4655b7ecb 100644 --- a/pandora_console/include/functions_tags.php +++ b/pandora_console/include/functions_tags.php @@ -1207,6 +1207,10 @@ function tags_checks_event_acl($id_user, $id_group, $access, $tags = array(), $c $id_user = $config['id_user']; } + if (users_is_admin($id_user)) { + return true; + } + $tags_user = tags_get_acl_tags($id_user, $id_group, $access, 'data', '', '', true, $childrens_ids, true); // If there are wrong parameters or fail ACL check, return false if ($tags_user === ERR_WRONG_PARAMETERS || $tags_user === ERR_ACL) {